public class HttpTunnelServerHandler extends Object implements Handler
HttpTunnelServer
to a Handler
.Constructor and Description |
---|
HttpTunnelServerHandler(HttpTunnelServer server)
Create a new
HttpTunnelServerHandler instance. |
Modifier and Type | Method and Description |
---|---|
void |
handle(ServerHttpRequest request,
ServerHttpResponse response)
Handle the request.
|
public HttpTunnelServerHandler(HttpTunnelServer server)
HttpTunnelServerHandler
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.