public class HAProxyTLV
extends io.netty.buffer.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
|
| Constructor and Description |
|---|
HAProxyTLV(byte typeByteValue,
io.netty.buffer.ByteBuf content)
Creates a new HAProxyTLV
|
HAProxyTLV(HAProxyTLV.Type type,
io.netty.buffer.ByteBuf content)
Creates a new HAProxyTLV
|
| Modifier and Type | Method and Description |
|---|---|
HAProxyTLV |
copy() |
HAProxyTLV |
duplicate() |
HAProxyTLV |
replace(io.netty.buffer.ByteBuf content) |
HAProxyTLV |
retain() |
HAProxyTLV |
retain(int increment) |
HAProxyTLV |
retainedDuplicate() |
String |
toString() |
HAProxyTLV |
touch() |
HAProxyTLV |
touch(Object hint) |
HAProxyTLV.Type |
type()
Returns the
HAProxyTLV.Type of this TLV |
byte |
typeByteValue()
Returns the type of the TLV as byte
|
public HAProxyTLV(byte typeByteValue,
io.netty.buffer.ByteBuf content)
typeByteValue - the byteValue of the TLV. This is especially important if non-standard TLVs are usedcontent - the raw content of the TLVpublic HAProxyTLV(HAProxyTLV.Type type, io.netty.buffer.ByteBuf content)
type - the HAProxyTLV.Type of the TLVcontent - the raw content of the TLVpublic HAProxyTLV.Type type()
HAProxyTLV.Type of this TLVpublic byte typeByteValue()
public HAProxyTLV copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic HAProxyTLV touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic String toString()
toString in class io.netty.buffer.DefaultByteBufHolderCopyright © 2008–2025 The Netty Project. All rights reserved.