程序包 | 说明 |
---|---|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
限定符和类型 | 方法和说明 |
---|---|
HAProxyTLV.Type |
HAProxyTLV.type()
Returns the
HAProxyTLV.Type of this TLV |
static HAProxyTLV.Type |
HAProxyTLV.Type.typeForByteValue(byte byteValue)
Returns the
HAProxyTLV.Type for a specific byte value as defined in the PROXY protocol 1.5 spec
If the byte value is not an official one, it will return OTHER . |
static HAProxyTLV.Type |
HAProxyTLV.Type.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static HAProxyTLV.Type[] |
HAProxyTLV.Type.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static byte |
HAProxyTLV.Type.byteValueForType(HAProxyTLV.Type type)
Returns the byte value for the
HAProxyTLV.Type as defined in the PROXY protocol 1.5 spec. |
构造器和说明 |
---|
HAProxyTLV(HAProxyTLV.Type type,
ByteBuf content)
Creates a new HAProxyTLV
|