Interface Handler
- All Known Implementing Classes:
HttpRestartServerHandler
,HttpStatusHandler
,HttpTunnelServerHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Handler
A single handler that is able to process an incoming remote server request.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)
Handle the request.
Method Detail
handle
void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException
Handle the request.- Parameters:
request
- the requestresponse
- the response- Throws:
IOException
- in case of I/O errors