public final class HAProxySSLTLV extends HAProxyTLV
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.HAProxyTLV.Type
构造器和说明 |
---|
HAProxySSLTLV(int verify,
byte clientBitField,
java.util.List<HAProxyTLV> tlvs)
Creates a new HAProxySSLTLV
|
限定符和类型 | 方法和说明 |
---|---|
byte |
client()
Returns the client bit field
|
java.util.List<HAProxyTLV> |
encapsulatedTLVs()
Returns an unmodifiable Set of encapsulated
HAProxyTLV s. |
boolean |
isPP2ClientCertConn()
Returns
true if the bit field for PP2_CLIENT_CERT_CONN was set |
boolean |
isPP2ClientCertSess()
Returns
true if the bit field for PP2_CLIENT_CERT_SESS was set |
boolean |
isPP2ClientSSL()
Returns
true if the bit field for PP2_CLIENT_SSL was set |
java.lang.String |
toString() |
int |
verify()
Returns the verification result
|
copy, duplicate, replace, retain, retain, retainedDuplicate, touch, touch, type, typeByteValue
content, contentToString, equals, hashCode, refCnt, release, release
public HAProxySSLTLV(int verify, byte clientBitField, java.util.List<HAProxyTLV> tlvs)
verify
- 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)clientBitField
- the bitfield with client informationtlvs
- the encapsulated HAProxyTLV
spublic boolean isPP2ClientCertConn()
true
if the bit field for PP2_CLIENT_CERT_CONN was setpublic boolean isPP2ClientSSL()
true
if the bit field for PP2_CLIENT_SSL was setpublic boolean isPP2ClientCertSess()
true
if the bit field for PP2_CLIENT_CERT_SESS was setpublic byte client()
public int verify()
public java.util.List<HAProxyTLV> encapsulatedTLVs()
HAProxyTLV
s.public java.lang.String toString()
toString
在类中 HAProxyTLV