List of usage examples for io.netty.channel ChannelOutboundHandlerAdapter subclass-usage
From source file com.linkedin.r2.transport.http.client.Http2SchemeHandler.java
/** * A handler that enforces the scheme of every request. Throws {@link java.lang.IllegalStateException} * if the scheme of incoming request does not comply with the desired one in the handler. */ class Http2SchemeHandler extends ChannelOutboundHandlerAdapter { private final String _scheme;
From source file com.linkedin.r2.transport.http.client.SslRequestHandler.java
/** * @author Ang Xu * @version $Revision: $ */ public class SslRequestHandler extends ChannelOutboundHandlerAdapter { private static final String HTTPS_SCHEME = "https";
From source file com.look.netty.demo.spdy.client.SpdyClientStreamIdHandler.java
/** * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd. */ public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter { private int currentStreamId = 1;
From source file com.sample.netty.socket.client.ClientHandlerOutbound.java
/** * * @author Vitor */ public class ClientHandlerOutbound extends ChannelOutboundHandlerAdapter {
From source file com.sample.netty.socket.server.ServerHandlerOutbound.java
/** * * @author Vitor */ public class ServerHandlerOutbound extends ChannelOutboundHandlerAdapter {
From source file com.spotify.netty.handler.queue.AutoFlushingWriteBatcher.java
/** * A channel handler that attempts to batch together and consolidate smaller writes to avoid many * small individual writes on the channel and the syscall overhead this would incur. */ public class AutoFlushingWriteBatcher extends ChannelOutboundHandlerAdapter {
From source file com.spotify.netty4.handler.codec.zmtp.ZMTPFramingEncoder.java
/** * Netty ZMTP encoder. */ class ZMTPFramingEncoder extends ChannelOutboundHandlerAdapter { private final ZMTPEncoder encoder;
From source file com.springapp.mvc.netty.example.spdy.client.SpdyClientStreamIdHandler.java
/** * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd. */ public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter { private int currentStreamId = 1;
From source file com.superman.netty.spdy.client.SpdyClientStreamIdHandler.java
/** * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd. */ public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter { private int currentStreamId = 1;
From source file com.twitter.http2.HttpStreamEncoder.java
/** * Encodes {@link StreamedHttpResponse}s into {@link HttpFrame}s. */ public class HttpStreamEncoder extends ChannelOutboundHandlerAdapter { private static final int MAX_DATA_LENGTH = 0x2000; // Limit Data Frames to 8k