public abstract class Handler extends Object
You can config Handler in JFinalConfig.configHandler() method, Handler can do anything under the jfinal action.
Modifier and Type | Field and Description |
---|---|
protected Handler |
next
The next handler
|
protected Handler |
nextHandler
Deprecated.
|
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
handle(String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean[] isHandled)
Handle target
|
protected Handler next
@Deprecated protected Handler nextHandler
public abstract void handle(String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean[] isHandled)
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.