public interface HandlerInterceptor
| Modifier and Type | Method and Description |
|---|---|
boolean |
onIntercept(HttpRequest request,
HttpResponse response,
RequestHandler handler)
Intercept the execution of a handler.
|
boolean onIntercept(HttpRequest request, HttpResponse response, RequestHandler handler) throws java.lang.Exception
request - current request.response - current response.handler - the corresponding handler of the current request.java.lang.Exception