netty5/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy
jrhee17 37948bc9de
Add support for HAProxyMessageEncoder (#10175)
Motivation:

Add support for HAProxyMessageEncoder.
This should help java based HAProxy server implementations propagate proxy information.

Modification:

Add public constructors for `HAProxyMessage`, `HAProxyTLV`, `HAProxySSLTLV`.
Add additional argument checks for `HAProxyMessage` and modify exceptions thrown when creating via public constructors directly.
Introduce a `@Sharable` `HAProxyMessageEncoder` which encodes a `HAProxyMessage` into a byte array.
Add an example `HAProxyServer` and `HAProxyClient` to `io.netty.example`


Result:

Fixes #10164
2020-04-16 09:35:06 +02:00
..
HAProxyCommand.java Overall refactoring of the haproxy codec 2014-06-21 16:00:27 +09:00
HAProxyConstants.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
HAProxyMessage.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
HAProxyMessageDecoder.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
HAProxyMessageEncoder.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
HAProxyProtocolException.java Overall refactoring of the haproxy codec 2014-06-21 16:00:27 +09:00
HAProxyProtocolVersion.java fix the typos 2017-04-20 04:56:09 +02:00
HAProxyProxiedProtocol.java fix the typos 2017-04-20 04:56:09 +02:00
HAProxySSLTLV.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
HAProxyTLV.java Add support for HAProxyMessageEncoder (#10175) 2020-04-16 09:35:06 +02:00
package-info.java Move haproxy codec to a separate module 2014-06-21 15:59:21 +09:00