@FunctionalInterface public interface Filter
Modifier and Type | Method and Description |
---|---|
void |
handle(Request request,
Response response)
Invoked when a request is made on this filter's corresponding path e.g.
|
void handle(Request request, Response response) throws Exception
request
- The request object providing information about the HTTP requestresponse
- The response object providing functionality for modifying the responseException
- when handle failsCopyright © 2016. All rights reserved.