Class HttpTunnelServerHandler
- java.lang.Object
- org.springframework.boot.devtools.tunnel.server.HttpTunnelServerHandler
- All Implemented Interfaces:
Handler
public class HttpTunnelServerHandler extends Object implements Handler
Adapts aHttpTunnelServerto aHandler.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description HttpTunnelServerHandler(HttpTunnelServer server)Create a newHttpTunnelServerHandlerinstance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)Handle the request.
Constructor Detail
HttpTunnelServerHandler
public HttpTunnelServerHandler(HttpTunnelServer server)
Create a newHttpTunnelServerHandlerinstance.- Parameters:
server- the server to adapt
Method Detail
handle
public void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException
Description copied from interface:HandlerHandle the request.- Specified by:
handlein interfaceHandler- Parameters:
request- the requestresponse- the response- Throws:
IOException- in case of I/O errors