/** * Checks whether this is a request to an ignored path * * @param request * the current http request * @return {@code true} when the request should be ignored, {@code false} - otherwise */ private boolean shouldIgnorePath(final HttpServletRequest request) { boolean ignore = false; if (ignorePaths.size() > 0) { String relativePath = getRelativePath(request); if (Strings.isEmpty(relativePath) == false) { for (String path : ignorePaths) { if (relativePath.startsWith(path)) { ignore = true; break; } } } } return ignore; }
/** * Checks whether this is a request to an ignored path * * @param request * the current http request * @return {@code true} when the request should be ignored, {@code false} - otherwise */ private boolean shouldIgnorePath(final HttpServletRequest request) { boolean ignore = false; if (ignorePaths.size() > 0) { String relativePath = getRelativePath(request); if (Strings.isEmpty(relativePath) == false) { for (String path : ignorePaths) { if (relativePath.startsWith(path)) { ignore = true; break; } } } } return ignore; }
/** * Gets the path info if any. * * @return Any servlet path info */ public String getPath() { return ((WebApplication)Application.get()).getWicketFilter().getRelativePath( httpServletRequest); }
/** * Gets the path info if any. * * @return Any servlet path info */ @Override public String getPath() { return ((WebApplication)Application.get()).getWicketFilter().getRelativePath( httpServletRequest); }
final String relativePath = getRelativePath(httpServletRequest);
String relativePath = getRelativePath(httpServletRequest);
final HttpServletResponse servletResponse) throws ServletException, IOException String relativePath = getRelativePath(servletRequest);
final HttpServletResponse servletResponse) throws ServletException, IOException String relativePath = getRelativePath(servletRequest);
final String pathInfo = getRelativePath(servletRequest);
final String pathInfo = getRelativePath(servletRequest); if (Strings.isEmpty(pathInfo)) return -1;