Proxy.Type - JRE Emulation | JRE Emulation
public static final enum

Proxy.Type

extends Enum<Proxy.Type>
java.lang.Object
   ↳ java.lang.Enum<java.net.Proxy.Type>
     ↳ java.net.Proxy.Type

Class Overview

Enum class for the proxy type. Possible options are DIRECT, HTTP and SOCKS.

Summary

Enum Values
Proxy.Type  DIRECT  Direct connection. 
Proxy.Type  HTTP  HTTP type proxy. 
Proxy.Type  SOCKS  SOCKS type proxy. 
Public Methods
static Proxy.Type valueOf(String name)
final static Type[] values()
Inherited Methods
[Expand]
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Proxy.Type DIRECT

Direct connection. Connect without any proxy.

public static final Proxy.Type HTTP

HTTP type proxy. It's often used by protocol handlers such as HTTP, HTTPS and FTP.

public static final Proxy.Type SOCKS

SOCKS type proxy.

Public Methods

public static Proxy.Type valueOf (String name)

public static final Type[] values ()