Class FanOutOneBlockAsyncDFSOutputSaslHelper.EncryptHandler
java.lang.Object
org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerAdapter
org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapter
org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputSaslHelper.EncryptHandler
- All Implemented Interfaces:
- org.apache.hbase.thirdparty.io.netty.channel.ChannelHandler,- org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandler
- Enclosing class:
- FanOutOneBlockAsyncDFSOutputSaslHelper
private static final class FanOutOneBlockAsyncDFSOutputSaslHelper.EncryptHandler
extends org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerorg.apache.hbase.thirdparty.io.netty.channel.ChannelHandler.Sharable
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionEncryptHandler(org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBufallocateBuffer(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, boolean preferDirect) protected voidencode(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf out) Methods inherited from class org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoderacceptOutboundMessage, isPreferDirect, writeMethods inherited from class org.apache.hbase.thirdparty.io.netty.channel.ChannelOutboundHandlerAdapterbind, close, connect, deregister, disconnect, flush, readMethods inherited from class org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerAdapterensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerexceptionCaught, handlerAdded, handlerRemoved
- 
Field Details- 
encryptor
 
- 
- 
Constructor Details- 
EncryptHandlerpublic EncryptHandler(org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv) throws GeneralSecurityException, IOException - Throws:
- GeneralSecurityException
- IOException
 
 
- 
- 
Method Details- 
allocateBufferprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf allocateBuffer(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, boolean preferDirect) throws Exception - Overrides:
- allocateBufferin class- org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
- Throws:
- Exception
 
- 
encodeprotected void encode(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf out) throws Exception - Specified by:
- encodein class- org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
- Throws:
- Exception
 
 
-