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(ServerHttpRequest request,
ServerHttpResponse response)
Handle the request.
|
public HttpRestartServerHandler(HttpRestartServer server)
HttpRestartServerHandler
instance.server
- the server to adaptpublic void handle(ServerHttpRequest request, ServerHttpResponse response) throws IOException
Handler
handle
in interface Handler
request
- the requestresponse
- the responseIOException
- in case of I/O errorsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.