类 HttpTunnelConnection.TunnelChannel
- java.lang.Object
- org.springframework.boot.devtools.tunnel.client.HttpTunnelConnection.TunnelChannel
- 所有已实现的接口:
Closeable
,AutoCloseable
,Channel
,WritableByteChannel
protected class HttpTunnelConnection.TunnelChannel extends Object implements WritableByteChannel
AWritableByteChannel
used to transfer traffic.
构造器详细资料
TunnelChannel
public TunnelChannel(WritableByteChannel incomingChannel, Closeable closeable)
方法详细资料
close
public void close() throws IOException
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Channel
- 指定者:
close
在接口中Closeable
- 抛出:
IOException
write
public int write(ByteBuffer src) throws IOException
- 指定者:
write
在接口中WritableByteChannel
- 抛出:
IOException