public class HttpRestartServerHandler extends Object implements Handler
HttpRestartServer
to a Handler
.Constructor and Description |
---|
HttpRestartServerHandler(HttpRestartServer server)
Create a new
HttpRestartServerHandler instance. |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response)
Handle the request.
|
public HttpRestartServerHandler(HttpRestartServer server)
HttpRestartServerHandler
instance.server
- the server to adaptpublic void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException
Handler
handle
in interface Handler
request
- the requestresponse
- the responseIOException
- in case of I/O errorsCopyright © 2020 Pivotal Software, Inc.. All rights reserved.