public class HAProxyTLV extends DefaultByteBufHolder
HAProxySSLTLV
Modifier and Type | Class and Description |
---|---|
static class |
HAProxyTLV.Type
The registered types a TLV can have regarding the PROXY protocol 1.5 spec
|
Modifier and Type | Method and Description |
---|---|
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
in interface ByteBufHolder
copy
in class DefaultByteBufHolder
public HAProxyTLV duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in class DefaultByteBufHolder
public HAProxyTLV retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in class DefaultByteBufHolder
public HAProxyTLV retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface ReferenceCounted
retain
in class DefaultByteBufHolder
Copyright © 2008–2018 The Netty Project. All rights reserved.