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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ServerHttpRequest request, ServerHttpResponse response) Handle the request.
-
Constructor Details
-
HttpTunnelServerHandler
Create a newHttpTunnelServerHandler
instance.- Parameters:
server
- the server to adapt
-
-
Method Details
-
handle
Description copied from interface:Handler
Handle the request.- Specified by:
handle
in interfaceHandler
- Parameters:
request
- the requestresponse
- the response- Throws:
IOException
- in case of I/O errors
-