public class SaslClientHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
Constructor and Description |
---|
SaslClientHandler(org.apache.hadoop.conf.Configuration conf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected WritableRequest |
decode(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
Decode the message read by handler
|
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public SaslClientHandler(org.apache.hadoop.conf.Configuration conf)
conf
- Configurationpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
protected WritableRequest decode(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
ctx
- channel handler contextmsg
- message to decode into a writable requestException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.