cn.dreampie.route.handler
类 Handler
java.lang.Object
cn.dreampie.route.handler.Handler
- 直接已知子类:
- CORSHandler, RouteHandler
public abstract class Handler
- extends Object
Handler.
You can config Handler in Config.configHandler() method,
Handler can do anything under the resty route.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextHandler
protected Handler nextHandler
Handler
public Handler()
handle
public abstract void handle(HttpRequest request,
HttpResponse response,
boolean[] isHandled)
- Handle target
- 参数:
request - HttpServletRequest of this http requestresponse - HttpServletRequest of this http requestisHandled - RestyFilter will invoke doFilter() method if isHandled[0] == false,
it is usually to tell Filter should handle the static resource.
Copyright © 2015. All rights reserved.