protected class HttpTunnelConnection.TunnelChannel extends Object implements WritableByteChannel
WritableByteChannel used to transfer traffic.| Constructor and Description |
|---|
TunnelChannel(WritableByteChannel incomingChannel,
Closeable closeable) |
public TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.