public class SearchGuardMessageChannelHandler
extends org.elasticsearch.transport.netty.MessageChannelHandler
| Constructor and Description |
|---|
SearchGuardMessageChannelHandler(org.elasticsearch.transport.netty.NettyTransport transport,
org.elasticsearch.common.logging.ESLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
protected String |
handleRequest(org.jboss.netty.channel.Channel channel,
org.elasticsearch.transport.netty.MessageChannelHandler.Marker marker,
org.elasticsearch.common.io.stream.StreamInput buffer,
long requestId,
int messageLengthBytes,
org.elasticsearch.Version version) |
protected void |
handleResponse(org.jboss.netty.channel.Channel channel,
org.elasticsearch.common.io.stream.StreamInput buffer,
org.elasticsearch.transport.TransportResponseHandler handler) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
validateRequest, writeCompletepublic SearchGuardMessageChannelHandler(org.elasticsearch.transport.netty.NettyTransport transport,
org.elasticsearch.common.logging.ESLogger logger)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.elasticsearch.transport.netty.MessageChannelHandlerExceptionprotected void handleResponse(org.jboss.netty.channel.Channel channel,
org.elasticsearch.common.io.stream.StreamInput buffer,
org.elasticsearch.transport.TransportResponseHandler handler)
handleResponse in class org.elasticsearch.transport.netty.MessageChannelHandlerprotected String handleRequest(org.jboss.netty.channel.Channel channel, org.elasticsearch.transport.netty.MessageChannelHandler.Marker marker, org.elasticsearch.common.io.stream.StreamInput buffer, long requestId, int messageLengthBytes, org.elasticsearch.Version version) throws IOException
handleRequest in class org.elasticsearch.transport.netty.MessageChannelHandlerIOExceptionpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
channelConnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerCopyright © 2015-2017. All Rights Reserved.