public class NettyEncryptingEncoder
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
private NettyEncryptionTranslator |
encryptionCodec |
| Constructor and Description |
|---|
NettyEncryptingEncoder(javax.crypto.Cipher cipher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext p_encode_1_,
io.netty.buffer.ByteBuf p_encode_2_,
io.netty.buffer.ByteBuf p_encode_3_) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprivate final NettyEncryptionTranslator encryptionCodec
protected void encode(io.netty.channel.ChannelHandlerContext p_encode_1_,
io.netty.buffer.ByteBuf p_encode_2_,
io.netty.buffer.ByteBuf p_encode_3_)
throws javax.crypto.ShortBufferException,
java.lang.Exception
encode in class io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>javax.crypto.ShortBufferExceptionjava.lang.Exception