List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file org.eclipse.scada.protocol.relp.RelpHandler.java
public class RelpHandler extends ChannelDuplexHandler { private final static Logger logger = LoggerFactory.getLogger(RelpHandler.class); private boolean opened; private final int timeout;
From source file org.eclipse.scada.protocol.syslog.SyslogCodec.java
/**
* Decode syslog messages
* <p>
* <em>Note:</em> This filter expects the <em>complete</em> message on the data
* buffer
* </p>
From source file org.elasticsearch.hadoop.http.netty4.cors.Netty4CorsHandler.java
/**
* Handles <a href="http://www.w3.org/TR/cors/">Cross Origin Resource Sharing</a> (CORS) requests.
* <p>
* This handler can be configured using a {@link Netty4CorsConfig}, please
* refer to this class for details about the configuration options available.
*
From source file org.elasticsearch.hadoop.http.netty4.pipelining.HttpPipeliningHandler.java
/**
* Implements HTTP pipelining ordering, ensuring that responses are completely served in the same order as their
* corresponding requests. NOTE: A side effect of using this handler is that upstream HttpRequest objects will
* cause the original message event to be effectively transformed into an OrderedUpstreamMessageEvent. Conversely
* OrderedDownstreamChannelEvent objects are expected to be received for the correlating response objects.
*/
From source file org.elasticsearch.hadoop.transport.netty4.Netty4MessageChannelHandler.java
/** * A handler (must be the last one!) that does size based frame decoding and forwards the actual message * to the relevant action. */ final class Netty4MessageChannelHandler extends ChannelDuplexHandler {
From source file org.elasticsearch.http.netty4.cors.Netty4CorsHandler.java
/**
* Handles <a href="http://www.w3.org/TR/cors/">Cross Origin Resource Sharing</a> (CORS) requests.
* <p>
* This handler can be configured using a {@link Netty4CorsConfig}, please
* refer to this class for details about the configuration options available.
*
From source file org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.java
/** * Implements HTTP pipelining ordering, ensuring that responses are completely served in the same order as their corresponding requests. */ public class Netty4HttpPipeliningHandler extends ChannelDuplexHandler { private final Logger logger;
From source file org.elasticsearch.http.netty4.pipelining.HttpPipeliningHandler.java
/**
* Implements HTTP pipelining ordering, ensuring that responses are completely served in the same order as their
* corresponding requests. NOTE: A side effect of using this handler is that upstream HttpRequest objects will
* cause the original message event to be effectively transformed into an OrderedUpstreamMessageEvent. Conversely
* OrderedDownstreamChannelEvent objects are expected to be received for the correlating response objects.
*/
From source file org.elasticsearch.http.nio.cors.NioCorsHandler.java
/**
* Handles <a href="http://www.w3.org/TR/cors/">Cross Origin Resource Sharing</a> (CORS) requests.
* <p>
* This handler can be configured using a {@link NioCorsConfig}, please
* refer to this class for details about the configuration options available.
*
From source file org.elasticsearch.http.nio.NioHttpPipeliningHandler.java
/** * Implements HTTP pipelining ordering, ensuring that responses are completely served in the same order as their corresponding requests. */ public class NioHttpPipeliningHandler extends ChannelDuplexHandler { private final Logger logger;