| java.lang.Object | ||
| ↳ | java.lang.Enum<java.net.Proxy.Type> | |
| ↳ | java.net.Proxy.Type | |
Enum class for the proxy type. Possible options are DIRECT, HTTP and SOCKS.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Proxy.Type | DIRECT | Direct connection. | |||||||||
| Proxy.Type | HTTP | HTTP type proxy. | |||||||||
| Proxy.Type | SOCKS | SOCKS type proxy. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Direct connection. Connect without any proxy.
HTTP type proxy. It's often used by protocol handlers such as HTTP, HTTPS and FTP.