public abstract class Handler extends Object
You can config Handler in JFinalConfig.configHandler() method, Handler can do anything under the jfinal action.
| 限定符和类型 | 字段和说明 |
|---|---|
protected Handler |
nextHandler |
| 构造器和说明 |
|---|
Handler() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
handle(String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean[] isHandled)
Handle target
|
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 © 2015. All rights reserved.