| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| public static final SocksVersion | SOCKS4a
SOCKS protocol version 4a (or 4) |
| public static final SocksVersion | SOCKS5
SOCKS protocol version 5 |
| public static final SocksVersion | UNKNOWN
Unknown protocol version |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static SocksVersion | |
| public static SocksVersion | Returns: UNKNOWN if the specified value does not represent a known SOCKS protocol versionReturns the |
| public static SocksVersion[] |
| b | back to summary |
|---|---|
| private final byte b | |
| SOCKS4a | back to summary |
|---|---|
| public static final SocksVersion SOCKS4a SOCKS protocol version 4a (or 4) | |
| SOCKS5 | back to summary |
|---|---|
| public static final SocksVersion SOCKS5 SOCKS protocol version 5 | |
| UNKNOWN | back to summary |
|---|---|
| public static final SocksVersion UNKNOWN Unknown protocol version | |
| SocksVersion | back to summary |
|---|---|
| private SocksVersion(byte b) | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the value of the version field, as defined in the protocol specification. | |
| valueOf | back to summary |
|---|---|
| public static SocksVersion valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static SocksVersion valueOf(byte b) Returns the
| |
| values | back to summary |
|---|---|
| public static SocksVersion[] values() | |