Proxy.Type

  • Proxy.Type is an enum representing the type of proxy being used, such as direct, HTTP, or SOCKS.

  • It inherits methods from java.lang.Enum for comparison, equality checks, and getting enum details.

  • Three enum values are available: DIRECT for a direct connection, HTTP for protocols like HTTP and FTP, and SOCKS for SOCKS proxies.

public static final enum Proxy.Type extends Enum<Proxy.Type>

Represents the proxy type.

Inherited Method Summary

Enum Values

public static final Proxy.Type DIRECT

Represents a direct connection, or the absence of a proxy.

public static final Proxy.Type HTTP

Represents proxy for high level protocols such as HTTP or FTP.

public static final Proxy.Type SOCKS

Represents a SOCKS (V4 or V5) proxy.