Class SocksAuthRequest


public final class SocksAuthRequest extends SocksRequest
An socks auth request.
See Also:
  • Field Details

  • Constructor Details

    • SocksAuthRequest

      public SocksAuthRequest(String username, String password)
  • Method Details

    • username

      public String username()
      Returns username that needs to be authenticated
      Returns:
      username that needs to be authenticated
    • password

      public String password()
      Returns password that needs to be validated
      Returns:
      password that needs to be validated
    • encodeAsByteBuf

      public void encodeAsByteBuf(ByteBuf byteBuf)
      Specified by:
      encodeAsByteBuf in class SocksMessage