Class DefaultSocks5PrivateAuthRequest

    • Constructor Detail

      • DefaultSocks5PrivateAuthRequest

        public DefaultSocks5PrivateAuthRequest​(byte[] privateAuthToken)
        Creates a new instance with the specified token.
        Parameters:
        privateAuthToken - the private authentication token
    • Method Detail

      • privateToken

        public byte[] privateToken()
        Description copied from interface: Socks5PrivateAuthRequest
        Returns the private token of this request.

        For custom subnegotiation protocols, this could be extended by adding additional methods in a subinterface.

        Specified by:
        privateToken in interface Socks5PrivateAuthRequest
        Returns:
        the private authentication token
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object