@InterfaceAudience.Private public class NettyHBaseSaslRpcClientHandler extends org.apache.hadoop.hbase.shaded.io.netty.channel.SimpleChannelInboundHandler<org.apache.hadoop.hbase.shaded.io.netty.buffer.ByteBuf>
org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandler.Sharable| Constructor and Description |
|---|
NettyHBaseSaslRpcClientHandler(org.apache.hadoop.hbase.shaded.io.netty.util.concurrent.Promise<Boolean> saslPromise,
org.apache.hadoop.security.UserGroupInformation ugi,
AuthMethod method,
org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token,
String serverPrincipal,
boolean fallbackAllowed,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx,
org.apache.hadoop.hbase.shaded.io.netty.buffer.ByteBuf msg) |
void |
exceptionCaught(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlerAdded(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx) |
boolean |
isNeedProcessConnectionHeader() |
acceptInboundMessage, channelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerRemovedpublic NettyHBaseSaslRpcClientHandler(org.apache.hadoop.hbase.shaded.io.netty.util.concurrent.Promise<Boolean> saslPromise, org.apache.hadoop.security.UserGroupInformation ugi, AuthMethod method, org.apache.hadoop.security.token.Token<? extends org.apache.hadoop.security.token.TokenIdentifier> token, String serverPrincipal, boolean fallbackAllowed, org.apache.hadoop.conf.Configuration conf) throws IOException
saslPromise - true if success, false if server tells us to fallback to
simple.IOExceptionpublic boolean isNeedProcessConnectionHeader()
public void handlerAdded(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx)
handlerAdded in interface org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerhandlerAdded in class org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerAdapterprotected void channelRead0(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx, org.apache.hadoop.hbase.shaded.io.netty.buffer.ByteBuf msg) throws Exception
public void channelInactive(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelInactive in interface org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelInboundHandlerchannelInactive in class org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught in interface org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelHandlerexceptionCaught in interface org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelInboundHandlerexceptionCaught in class org.apache.hadoop.hbase.shaded.io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.