io.netty.handler.codec.haproxy.HAProxyMessage
and set it into channel attribute for later use.
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private static final AttributeKey |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | channelRead(ChannelHandlerContext ctx, Object msg)
Overrides io. Implements io. ChannelHandlerContext#fireChannelRead(Object) to forward
to the next ChannelInboundHandler in the ChannelPipeline.
|
| pack-priv static boolean | |
| pack-priv static SocketAddress |
| isProxyProtocolAvailable | back to summary |
|---|---|
| private static final boolean isProxyProtocolAvailable | |
| REMOTE_ADDRESS_FROM_PROXY_PROTOCOL | back to summary |
|---|---|
| private static final AttributeKey<InetSocketAddress> REMOTE_ADDRESS_FROM_PROXY_PROTOCOL | |
| HAProxyMessageReader | back to summary |
|---|---|
| pack-priv HAProxyMessageReader() | |
| channelRead | back to summary |
|---|---|
| public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception Overrides io. Implements io. Doc from io. Calls
| |
| isProxyProtocolAvailable | back to summary |
|---|---|
| pack-priv static boolean isProxyProtocolAvailable() | |
| resolveRemoteAddressFromProxyProtocol | back to summary |
|---|---|
pack-priv static SocketAddress resolveRemoteAddressFromProxyProtocol(Channel channel)
| |