public interface NettyPipeline
ChannelHandler
.
Order of placement :
Clients:
-> proxy log ? [ProxyLoggingHandler]
-> proxy handler ? [ProxyHandler]
-> ssl log ? [SslLoggingHandler]
-> ssl handler ? [SslHandler]
-> log ? [LoggingHandler]
-> ssl reader ? [SslReader]
-> channel metrics ? [ChannelMetricsHandler]
-> connect metrics ? [ConnectMetricsHandler]
-> h2 or http/1.1 codec? [H2OrHttp11Codec]
-> http/1.1 codec ? [HttpCodec]
-> h2 multiplex handler ? [H2MultiplexHandler]
-> http/1.1 decompressor ? [HttpDecompressor]
-> h2 to http/1.1 codec ? [H2ToHttp11Codec]
-> http traffic handler ? [HttpTrafficHandler]
-> http metrics ? [HttpMetricsHandler]
-> http form/multipart/send file ? [ChunkedWriter]
-> request timeout handler ? [RequestTimeoutHandler]
-> http aggregator (websocket) ? [HttpAggregator]
-> websocket compression ? [WsCompressionHandler]
-> websocket frame aggregator ? [WsFrameAggregator]
-> onWriteIdle ? [OnChannelWriteIdle]
-> onReadIdle ? [OnChannelReadIdle]
=> [ReactiveBridge]
Servers:
-> proxy protocol decoder ? [ProxyProtocolDecoder]
-> proxy protocol reader ? [ProxyProtocolReader]
-> non ssl redirect detector ? [NonSslRedirectDetector]
-> ssl log ? [SslLoggingHandler]
-> ssl handler ? [SslHandler]
-> log ? [LoggingHandler]
-> ssl reader ? [SslReader]
-> channel metrics ? [ChannelMetricsHandler]
-> h2c upgrade handler ? [H2CUpgradeHandler]
-> h2 or http/1.1 codec? [H2OrHttp11Codec]
-> http codec ? [HttpCodec]
-> h2 multiplex handler ? [H2MultiplexHandler]
-> http access log ? [AccessLogHandler]
-> http/1.1 compression ? [CompressionHandler]
-> h2 to http/1.1 codec ? [H2ToHttp11Codec]
-> http traffic handler ? [HttpTrafficHandler]
-> http metrics ? [HttpMetricsHandler]
-> http send file ? [ChunkedWriter]
-> websocket compression ? [WsCompressionHandler]
-> websocket frame aggregator ? [WsFrameAggregator]
-> onWriteIdle ? [OnChannelWriteIdle]
-> onReadIdle ? [OnChannelReadIdle]
-> non ssl redirect handler ? [NonSslRedirectHandler]
=> [ReactiveBridge]
Modifier and Type | Method and Description |
---|---|
static ChannelInboundHandler |
inboundHandler(BiConsumer<? super ChannelHandlerContext,Object> handler)
Create a new
ChannelInboundHandler that will invoke
BiConsumer.accept(T, U) on
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object) . |
static final String LEFT
static final String RIGHT
static final String AccessLogHandler
static final String ChannelMetricsHandler
static final String ChunkedWriter
static final String CompressionHandler
static final String ConnectMetricsHandler
static final String H2CUpgradeHandler
static final String H2Flush
static final String H2MultiplexHandler
static final String H2OrHttp11Codec
static final String H2ToHttp11Codec
static final String HttpAggregator
static final String HttpCodec
static final String HttpDecompressor
static final String HttpMetricsHandler
static final String HttpTrafficHandler
static final String IdleTimeoutHandler
static final String LoggingHandler
static final String NonSslRedirectDetector
static final String NonSslRedirectHandler
static final String OnChannelReadIdle
static final String OnChannelWriteIdle
static final String ProxyHandler
@Deprecated static final String UnvoidHandler
VoidChannelPromise
.VoidChannelPromise
will be converted to "unvoided" promises.static final String ProxyLoggingHandler
static final String ProxyProtocolDecoder
static final String ProxyProtocolReader
static final String ResponseTimeoutHandler
static final String SslHandler
static final String SslLoggingHandler
static final String SslReader
static final String TlsMetricsHandler
static final String WsCompressionHandler
static final String WsFrameAggregator
static final String ReactiveBridge
static ChannelInboundHandler inboundHandler(BiConsumer<? super ChannelHandlerContext,Object> handler)
ChannelInboundHandler
that will invoke
BiConsumer.accept(T, U)
on
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
.handler
- the channel-read callback