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]
-> h3 to http/1.1 codec ? [H3ToHttp11Codec]
-> 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]
- Since:
- 0.6
- Author:
- Stephane Maldini, Violeta Georgieva
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated.as of 1.1.0.static final String
static final String
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ChannelInboundHandler
inboundHandler
(BiConsumer<? super ChannelHandlerContext, Object> handler) Create a newChannelInboundHandler
that will invokeBiConsumer.accept(T, U)
onChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
.
-
Field Details
-
LEFT
- See Also:
-
RIGHT
- See Also:
-
AccessLogHandler
- See Also:
-
ChannelMetricsHandler
- See Also:
-
ChunkedWriter
- See Also:
-
CompressionHandler
- See Also:
-
ConnectMetricsHandler
- See Also:
-
ErrorLogHandler
- See Also:
-
H2CUpgradeHandler
- See Also:
-
H2Flush
- See Also:
-
H2MultiplexHandler
- See Also:
-
H2OrHttp11Codec
- See Also:
-
H2ToHttp11Codec
- See Also:
-
H3ToHttp11Codec
- See Also:
-
HttpAggregator
- See Also:
-
HttpCodec
- See Also:
-
HttpDecompressor
- See Also:
-
HttpMetricsHandler
- See Also:
-
HttpTrafficHandler
- See Also:
-
IdleTimeoutHandler
- See Also:
-
LoggingHandler
- See Also:
-
NonSslRedirectDetector
- See Also:
-
NonSslRedirectHandler
- See Also:
-
OnChannelReadIdle
- See Also:
-
OnChannelWriteIdle
- See Also:
-
ProxyHandler
- See Also:
-
UnvoidHandler
Deprecated.as of 1.1.0. This will be removed in 2.0.0 as Netty 5 does not supportVoidChannelPromise
.Use to register a special handler which ensures that anyVoidChannelPromise
will be converted to "unvoided" promises.- See Also:
-
ProxyLoggingHandler
- See Also:
-
ProxyProtocolDecoder
- See Also:
-
ProxyProtocolReader
- See Also:
-
ReadTimeoutHandler
- See Also:
-
ResponseTimeoutHandler
- See Also:
-
SslHandler
- See Also:
-
SslLoggingHandler
- See Also:
-
SslReader
- See Also:
-
TlsMetricsHandler
- See Also:
-
WsCompressionHandler
- See Also:
-
WsFrameAggregator
- See Also:
-
ReactiveBridge
- See Also:
-
-
Method Details
-
inboundHandler
static ChannelInboundHandler inboundHandler(BiConsumer<? super ChannelHandlerContext, Object> handler) Create a newChannelInboundHandler
that will invokeBiConsumer.accept(T, U)
onChannelInboundHandler.channelRead(ChannelHandlerContext, Object)
.- Parameters:
handler
- the channel-read callback- Returns:
- a marking event used when a netty connector handler terminates
-