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(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response)
Handle the request.
|
public HttpTunnelServerHandler(HttpTunnelServer server)
HttpTunnelServerHandler
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 © 2017 Pivotal Software, Inc.. All rights reserved.