|Modifier and Type||Method and Description|
Callback method for a HTTP request.
default void handle(Request req, Response rsp, Route.Chain chain) throws Throwable
handlemethod of the Filter is called by the server each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. The
Route.Chainpassed in to this method allows the Filter to pass on the request and response to the next entity in the chain.
A typical implementation of this method would follow the following pattern:
Copyright © 2017. All rights reserved.