@Test public void testNotAjaxRequest() { assertFalse(RequestUtils.isAjaxRequest(request)); }
public static boolean isAjaxRequest(HttpServletRequest request) { String header = request.getHeader("X-Requested-With"); return "XMLHttpRequest".equals(header); }
RequestUtils { public static boolean isAjaxRequest(HttpServletRequest request) { String header = request.getHeader("X-Requested-With"); return "XMLHttpRequest".equals(header); } }
RequestUtils { public static boolean isAjaxRequest(HttpServletRequest request) { String header = request.getHeader("X-Requested-With"); return "XMLHttpRequest".equals(header); } private  RequestUtils(); }
RequestUtils { public static boolean isAjaxRequest(HttpServletRequest request) { String header = request.getHeader("X-Requested-With"); return "XMLHttpRequest".equals(header); } private  RequestUtils(); static boolean isAjaxRequest(HttpServletRequest request); }
RequestUtils { public static boolean isAjaxRequest(HttpServletRequest request) { String header = request.getHeader("X-Requested-With"); return "XMLHttpRequest".equals(header); } private  RequestUtils(); static boolean isAjaxRequest(HttpServletRequest request);  }