Class HttpTunnelConnection.TunnelChannel
- java.lang.Object
- org.springframework.boot.devtools.tunnel.client.HttpTunnelConnection.TunnelChannel
 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Channel,- WritableByteChannel
 - Enclosing class:
- HttpTunnelConnection
 - protected class HttpTunnelConnection.TunnelChannel extends Object implements WritableByteChannel A- WritableByteChannelused to transfer traffic.
- Constructor Summary- Constructors - Constructor - Description - TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable)
 
- Constructor Detail- TunnelChannel- public TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable) 
 
 - Method Detail- close- public void close() throws IOException - Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Channel
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 - write- public int write(ByteBuffer src) throws IOException - Specified by:
- writein interface- WritableByteChannel
- Throws:
- IOException