public class UrlSkipHandler extends Handler
Example: me.add(new UrlSkipHandler(".+\\.\\w{1,4}", false));
next, nextHandler
Constructor and Description |
---|
UrlSkipHandler(String skipedUrlRegx,
boolean isCaseSensitive) |
Modifier and Type | Method and Description |
---|---|
void |
handle(String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean[] isHandled)
Handle target
|
public UrlSkipHandler(String skipedUrlRegx, boolean isCaseSensitive)
public void handle(String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean[] isHandled)
Handler
handle
in class Handler
target
- url target of this web http requestrequest
- HttpServletRequest of this http requestresponse
- HttpServletRequest of this http requestisHandled
- JFinalFilter will invoke doFilter() method if isHandled[0] == false,
it is usually to tell Filter should handle the static resource.Copyright © 2018. All rights reserved.