Package | Description |
---|---|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
Modifier and Type | Field and Description |
---|---|
private HAProxyProtocolVersion |
HAProxyMessage.protocolVersion |
Modifier and Type | Field and Description |
---|---|
private static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.DETECTION_RESULT_V1
|
private static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.DETECTION_RESULT_V2
|
Modifier and Type | Method and Description |
---|---|
HAProxyProtocolVersion |
HAProxyMessage.protocolVersion()
Returns the
HAProxyProtocolVersion of this HAProxyMessage . |
static HAProxyProtocolVersion |
HAProxyProtocolVersion.valueOf(byte verCmdByte)
Returns the
HAProxyProtocolVersion represented by the higest 4 bits of the specified byte. |
static HAProxyProtocolVersion |
HAProxyProtocolVersion.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HAProxyProtocolVersion[] |
HAProxyProtocolVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.detectProtocol(ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf . |
Constructor and Description |
---|
HAProxyMessage(HAProxyProtocolVersion protocolVersion,
HAProxyCommand command,
HAProxyProxiedProtocol proxiedProtocol,
java.lang.String sourceAddress,
java.lang.String destinationAddress,
int sourcePort,
int destinationPort)
Creates a new instance
|
HAProxyMessage(HAProxyProtocolVersion protocolVersion,
HAProxyCommand command,
HAProxyProxiedProtocol proxiedProtocol,
java.lang.String sourceAddress,
java.lang.String destinationAddress,
java.lang.String sourcePort,
java.lang.String destinationPort)
Creates a new instance
|