クラス TcpNioSSLConnection.SSLChannelOutputStream
java.lang.ObjectSE
java.io.OutputStreamSE
org.springframework.integration.ip.tcp.connection.TcpNioConnection.ChannelOutputStream
org.springframework.integration.ip.tcp.connection.TcpNioSSLConnection.SSLChannelOutputStream
- 実装されているすべてのインターフェース:
CloseableSE、FlushableSE、AutoCloseableSE
- 含まれているクラス:
TcpNioSSLConnection
protected final class TcpNioSSLConnection.SSLChannelOutputStream
extends TcpNioConnection.ChannelOutputStream
送信データの暗号化を処理する
TcpNioConnection.ChannelOutputStream のサブクラスです。スーパークラスのインスタンスをラップし、暗号化されたデータを SocketChannel に送信するために呼び出されます。- 導入:
- 2.2
- 作成者:
- Gary Russell, Artem Bilan, Christian Tzolov
メソッドのサマリー
修飾子と型メソッド説明protected voiddoWrite(ByteBufferSE plainText) plaintText バッファを暗号化し、SocketChannel に書き込みます。クラス org.springframework.integration.ip.tcp.connection.TcpNioConnection.ChannelOutputStream から継承されたメソッド
close, write, write, writeクラス java.io.OutputStreamSE から継承されたメソッド
flush, nullOutputStream
メソッドの詳細
doWrite
Encrypt the plaintText buffer and writes it to the SocketChannel. Will participate in SSL handshaking as necessary. For very large data, the SSL packets will be limited by the engine's buffer sizes and multiple writes will be necessary.- オーバーライド:
- クラス
TcpNioConnection.ChannelOutputStreamのdoWrite - 例外:
IOExceptionSE