Class HAProxySSLTLV

    • Field Detail

      • verify

        private final int verify
      • tlvs

        private final java.util.List<HAProxyTLV> tlvs
      • clientBitField

        private final byte clientBitField
    • Constructor Detail

      • HAProxySSLTLV

        public HAProxySSLTLV​(int verify,
                             byte clientBitField,
                             java.util.List<HAProxyTLV> tlvs)
        Creates a new HAProxySSLTLV
        Parameters:
        verify - the verification result as defined in the specification for the pp2_tlv_ssl struct (see http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)
        clientBitField - the bitfield with client information
        tlvs - the encapsulated HAProxyTLVs
      • HAProxySSLTLV

        HAProxySSLTLV​(int verify,
                      byte clientBitField,
                      java.util.List<HAProxyTLV> tlvs,
                      ByteBuf rawContent)
        Creates a new HAProxySSLTLV
        Parameters:
        verify - the verification result as defined in the specification for the pp2_tlv_ssl struct (see http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)
        clientBitField - the bitfield with client information
        tlvs - the encapsulated HAProxyTLVs
        rawContent - the raw TLV content
    • Method Detail

      • isPP2ClientCertConn

        public boolean isPP2ClientCertConn()
        Returns true if the bit field for PP2_CLIENT_CERT_CONN was set
      • isPP2ClientSSL

        public boolean isPP2ClientSSL()
        Returns true if the bit field for PP2_CLIENT_SSL was set
      • isPP2ClientCertSess

        public boolean isPP2ClientCertSess()
        Returns true if the bit field for PP2_CLIENT_CERT_SESS was set
      • client

        public byte client()
        Returns the client bit field
      • verify

        public int verify()
        Returns the verification result
      • encapsulatedTLVs

        public java.util.List<HAProxyTLV> encapsulatedTLVs()
        Returns an unmodifiable Set of encapsulated HAProxyTLVs.