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 Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
IOException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.