Class HttpTunnelServerHandler
java.lang.Object
org.springframework.boot.devtools.tunnel.server.HttpTunnelServerHandler
- All Implemented Interfaces:
Handler
Adapts a
HttpTunnelServer to a Handler.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServerHttpRequest request, ServerHttpResponse response) Handle the request.
-
Constructor Details
-
HttpTunnelServerHandler
Create a newHttpTunnelServerHandlerinstance.- Parameters:
server- the server to adapt
-
-
Method Details
-
handle
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
-