HAProxySSLTLV
| Modifier and Type | Class and Description |
|---|---|
| public static enum | HAProxyTLV.Type
The registered types a TLV can have regarding the PROXY protocol 1.5 spec |
| Modifier and Type | Field and Description |
|---|---|
| private final HAProxyTLV. | |
| private final byte |
| Access | Constructor and Description |
|---|---|
| public | HAProxyTLV(byte
the byteValue of the TLV. This is especially important if non-standard TLVs are used typeByteValue, Buffer the raw content of the TLV content)Creates a new HAProxyTLV |
| public | HAProxyTLV(HAProxyTLV.
the type,Type of the TLVthe raw content of the TLV content)Creates a new HAProxyTLV |
| pack-priv | HAProxyTLV(final HAProxyTLV.
the type,Type of the TLVthe byteValue of the TLV. This is especially important if non-standard TLVs are used typeByteValue, final Buffer the raw content of the TLV content)Creates a new HAProxyTLV |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Buffer | |
| pack-priv int | |
| protected HAProxyTLV | receive(Buffer
The buf)Buffer that is received by the recipient,
and needs to be wrapped in a new BufferHolder instance.Implements abstract io. BufferHolder is received by the recipient.
|
| public String | |
| pack-priv int | |
| public HAProxyTLV. | |
| public byte |
| type | back to summary |
|---|---|
| private final HAProxyTLV. | |
| typeByteValue | back to summary |
|---|---|
| private final byte typeByteValue | |
| HAProxyTLV | back to summary |
|---|---|
| public HAProxyTLV(byte typeByteValue, Buffer content) Creates a new HAProxyTLV
| |
| HAProxyTLV | back to summary |
|---|---|
| public HAProxyTLV(HAProxyTLV. Creates a new HAProxyTLV
| |
| HAProxyTLV | back to summary |
|---|---|
| pack-priv HAProxyTLV(final HAProxyTLV. Creates a new HAProxyTLV
| |
| content | back to summary |
|---|---|
| pack-priv Buffer content() | |
| contentNumBytes | back to summary |
|---|---|
| pack-priv int contentNumBytes() | |
| receive | back to summary |
|---|---|
| protected HAProxyTLV receive(Buffer buf) Implements abstract io. Doc from io. Called when a sent
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| totalNumBytes | back to summary |
|---|---|
| pack-priv int totalNumBytes() The size of this tlv in bytes.
| |
| type | back to summary |
|---|---|
| public HAProxyTLV. Returns the | |
| typeByteValue | back to summary |
|---|---|
| public byte typeByteValue() Returns the type of the TLV as byte | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HAProxyTLV. | OTHER
A TLV type that is not officially defined in the spec. |
| public static final HAProxyTLV. | |
| public static final HAProxyTLV. | |
| public static final HAProxyTLV. | |
| public static final HAProxyTLV. | |
| public static final HAProxyTLV. | |
| public static final HAProxyTLV. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte | Returns: the byte value of theType.the typeTypeReturns the byte value for the |
| public static HAProxyTLV. | Returns: theType of a TLVthe byte for a type byteValue)Returns the
If the byte value is not an official one, it will return |
| public static HAProxyTLV. | |
| public static HAProxyTLV. |
| OTHER | back to summary |
|---|---|
| public static final HAProxyTLV. A TLV type that is not officially defined in the spec. May be used for nonstandard TLVs | |
| PP2_TYPE_ALPN | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| PP2_TYPE_AUTHORITY | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| PP2_TYPE_NETNS | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| PP2_TYPE_SSL | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| PP2_TYPE_SSL_CN | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| PP2_TYPE_SSL_VERSION | back to summary |
|---|---|
| public static final HAProxyTLV. | |
| Type | back to summary |
|---|---|
| private Type() | |
| byteValueForType | back to summary |
|---|---|
| public static byte byteValueForType(HAProxyTLV. Returns the byte value for the
| |
| typeForByteValue | back to summary |
|---|---|
| public static HAProxyTLV. Returns the
If the byte value is not an official one, it will return
| |
| valueOf | back to summary |
|---|---|
| public static HAProxyTLV. | |
| values | back to summary |
|---|---|
| public static HAProxyTLV. | |