Class Socks5

java.lang.Object
org.eclipse.jetty.client.Socks5

public class Socks5 extends Object

Helper class for SOCKS5 proxying.

See Also:
  • Field Details

    • VERSION

      public static final byte VERSION
      The SOCKS protocol version: 0x5.
      See Also:
    • COMMAND_CONNECT

      public static final byte COMMAND_CONNECT
      The SOCKS5 CONNECT command used in SOCKS5 connect requests.
      See Also:
    • RESERVED

      public static final byte RESERVED
      The reserved byte value: 0x0.
      See Also:
    • ADDRESS_TYPE_IPV4

      public static final byte ADDRESS_TYPE_IPV4
      The address type for IPv4 used in SOCKS5 connect requests and responses.
      See Also:
    • ADDRESS_TYPE_DOMAIN

      public static final byte ADDRESS_TYPE_DOMAIN
      The address type for domain names used in SOCKS5 connect requests and responses.
      See Also:
    • ADDRESS_TYPE_IPV6

      public static final byte ADDRESS_TYPE_IPV6
      The address type for IPv6 used in SOCKS5 connect requests and responses.
      See Also: