public interface HandlerAdapter
| Modifier and Type | Method and Description |
|---|---|
RequestHandler |
getHandler(HttpRequest request)
Get the handler that handles the current request.
|
boolean |
intercept(HttpRequest request)
Whether to intercept the current request.
|
boolean intercept(HttpRequest request)
request - current request.RequestHandler getHandler(HttpRequest request)
request - current request.NotFoundException - if current request cannot find the corresponding handler.