Class Socks5AuthMethod

java.lang.Object
io.netty.handler.codec.socksx.v5.Socks5AuthMethod
All Implemented Interfaces:
Comparable<Socks5AuthMethod>

public class Socks5AuthMethod extends Object implements Comparable<Socks5AuthMethod>
The authentication method of SOCKS5.
  • Field Details

    • NO_AUTH

      public static final Socks5AuthMethod NO_AUTH
    • GSSAPI

      public static final Socks5AuthMethod GSSAPI
    • PASSWORD

      public static final Socks5AuthMethod PASSWORD
    • UNACCEPTED

      public static final Socks5AuthMethod UNACCEPTED
      Indicates that the server does not accept any authentication methods the client proposed.
    • byteValue

      private final byte byteValue
    • name

      private final String name
    • text

      private String text
  • Constructor Details

    • Socks5AuthMethod

      public Socks5AuthMethod(int byteValue)
    • Socks5AuthMethod

      public Socks5AuthMethod(int byteValue, String name)
  • Method Details