Class SocksAuthRequest


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

  • Constructor Details

    • SocksAuthRequest

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

    • getUsername

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

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

      public void encodeAsByteBuf(ChannelBuffer channelBuffer) throws Exception
      Description copied from class: SocksMessage
      Encode socks message into its byte representation and write it into byteBuf
      Specified by:
      encodeAsByteBuf in class SocksMessage
      Throws:
      Exception
      See Also: