T
- the type of the response of the function@FunctionalInterface
public interface HandlerFunction<T extends ServerResponse>
RouterFunction
Modifier and Type | Method and Description |
---|---|
T |
handle(ServerRequest request)
Handle the given request.
|
T handle(ServerRequest request) throws java.lang.Exception
request
- the request to handlejava.lang.Exception