public class HAProxyTLV extends DefaultByteBufHolder
HAProxySSLTLV
限定符和类型 | 类和说明 |
---|---|
static class |
HAProxyTLV.Type
The registered types a TLV can have regarding the PROXY protocol 1.5 spec
|
限定符和类型 | 方法和说明 |
---|---|
HAProxyTLV |
copy()
Create a deep copy of this
ByteBufHolder . |
HAProxyTLV |
duplicate()
Duplicate the
ByteBufHolder . |
HAProxyTLV |
retain()
Increases the reference count by
1 . |
HAProxyTLV |
retain(int increment)
Increases the reference count by the specified
increment . |
HAProxyTLV.Type |
type()
Returns the
HAProxyTLV.Type of this TLV |
byte |
typeByteValue()
Returns the type of the TLV as byte
|
content, contentToString, equals, hashCode, refCnt, release, release, toString
public HAProxyTLV.Type type()
HAProxyTLV.Type
of this TLVpublic byte typeByteValue()
public HAProxyTLV copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在类中 DefaultByteBufHolder
public HAProxyTLV duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在类中 DefaultByteBufHolder
public HAProxyTLV retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
retain
在类中 DefaultByteBufHolder
public HAProxyTLV retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
retain
在类中 DefaultByteBufHolder