HAProxyTLV of the type HAProxyTLV.Type#PP2_TYPE_SSL .
This TLV encapsulates other TLVs and has additional information like verification information and a client bitfield.
| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| private final List | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | HAProxySSLTLV(final int
the verification result as defined in the specification for the pp2_tlv_ssl struct (see
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) verify, final byte the bitfield with client information clientBitField, final List<HAProxyTLV> the encapsulated tlvs)HAProxyTLVsCreates a new HAProxySSLTLV |
| pack-priv | HAProxySSLTLV(final int
the verification result as defined in the specification for the pp2_tlv_ssl struct (see
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) verify, final byte the bitfield with client information clientBitField, final List<HAProxyTLV> the encapsulated tlvs, final Buffer HAProxyTLVsthe raw TLV content rawContent)Creates a new HAProxySSLTLV |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| pack-priv Buffer | |
| pack-priv int | |
| public List | |
| public boolean | |
| public boolean | |
| public boolean | |
| protected HAProxyTLV | receive(Buffer
The buf)Buffer that is received by the recipient,
and needs to be wrapped in a new BufferHolder instance.Overrides io. BufferHolder is received by the recipient.
|
| public String | toString()
Overrides io. |
| public int |
| clientBitField | back to summary |
|---|---|
| private final byte clientBitField | |
| tlvs | back to summary |
|---|---|
| private final List<HAProxyTLV> tlvs | |
| verify | back to summary |
|---|---|
| private final int verify | |
| HAProxySSLTLV | back to summary |
|---|---|
| public HAProxySSLTLV(final int verify, final byte clientBitField, final List<HAProxyTLV> tlvs) Creates a new HAProxySSLTLV
| |
| HAProxySSLTLV | back to summary |
|---|---|
| pack-priv HAProxySSLTLV(final int verify, final byte clientBitField, final List<HAProxyTLV> tlvs, final Buffer rawContent) Creates a new HAProxySSLTLV
| |
| client | back to summary |
|---|---|
| public byte client() Returns the client bit field | |
| content | back to summary |
|---|---|
| pack-priv Buffer content() Overrides io. | |
| contentNumBytes | back to summary |
|---|---|
| pack-priv int contentNumBytes() Overrides io.
| |
| encapsulatedTLVs | back to summary |
|---|---|
| public List Returns an unmodifiable Set of encapsulated | |
| isPP2ClientCertConn | back to summary |
|---|---|
| public boolean isPP2ClientCertConn() Returns | |
| isPP2ClientCertSess | back to summary |
|---|---|
| public boolean isPP2ClientCertSess() Returns | |
| isPP2ClientSSL | back to summary |
|---|---|
| public boolean isPP2ClientSSL() Returns | |
| receive | back to summary |
|---|---|
| protected HAProxyTLV receive(Buffer buf) Overrides io. Doc from io. Called when a sent
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |
| verify | back to summary |
|---|---|
| public int verify() Returns the verification result | |