Class HttpTunnelPayloadForwarder
- java.lang.Object
- org.springframework.boot.devtools.tunnel.payload.HttpTunnelPayloadForwarder
public class HttpTunnelPayloadForwarder extends Object
Utility class that forwardsHttpTunnelPayload
instances to a destination channel, respecting sequence order.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description HttpTunnelPayloadForwarder(WritableByteChannel targetChannel)
Create a newHttpTunnelPayloadForwarder
instance.
Constructor Detail
HttpTunnelPayloadForwarder
public HttpTunnelPayloadForwarder(WritableByteChannel targetChannel)
Create a newHttpTunnelPayloadForwarder
instance.- Parameters:
targetChannel
- the target channel
Method Detail
forward
public void forward(HttpTunnelPayload payload) throws IOException
- Throws:
IOException