@FunctionalInterface public interface Handler
Modifier and Type | Method and Description |
---|---|
void |
handle(ServerHttpRequest request,
ServerHttpResponse response)
Handle the request.
|
void handle(ServerHttpRequest request, ServerHttpResponse response) throws IOException
request
- the requestresponse
- the responseIOException
- in case of I/O errors