Added in API level 1
Proxy.Type
public
static
final
enum
Proxy.Type
extends Enum<Proxy.Type>
java.lang.Object | ||
↳ | java.lang.Enum<java.net.Proxy.Type> | |
↳ | java.net.Proxy.Type |
Represents the proxy type.
Summary
Enum values | |
---|---|
Proxy.Type |
DIRECT
Represents a direct connection, or the absence of a proxy. |
Proxy.Type |
HTTP
Represents proxy for high level protocols such as HTTP or FTP. |
Proxy.Type |
SOCKS
Represents a SOCKS (V4 or V5) proxy. |
Public methods | |
---|---|
static
Proxy.Type
|
valueOf(String name)
|
static
final
Type[]
|
values()
|
Inherited methods | |
---|---|
Enum values
DIRECT
Added in API level 1
public static final Proxy.Type DIRECT
Represents a direct connection, or the absence of a proxy.
HTTP
Added in API level 1
public static final Proxy.Type HTTP
Represents proxy for high level protocols such as HTTP or FTP.
SOCKS
Added in API level 1
public static final Proxy.Type SOCKS
Represents a SOCKS (V4 or V5) proxy.
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-07-18 UTC.",
"confidential": False
}