java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.net.NetProxyInfo |
Class Overview
Network proxy information.
Immutable objects; safe comparison via hashCode/equals.
Summary
Public Constructors |
|
NetProxyInfo(String typestr, String hostname, int port)
|
|
NetProxyInfo(String typestr, String hostname, int port, String user, String password)
|
|
NetProxyInfo(String typestr, String hostname, int port, String user, String password, String rawWhitelist)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
int
INDEX_DIRECT
Constant Value:
0
(0x00000000)
public
static
final
int
INDEX_HTTP
Constant Value:
1
(0x00000001)
public
static
final
int
INDEX_SOCKS
Constant Value:
2
(0x00000002)
public
static
final
String
TYPE_DIRECT
public
static
final
String
TYPE_HTTP
public
static
final
String
TYPE_SOCKS
Public Constructors
public
NetProxyInfo
(String typestr, String hostname, int port)
public
NetProxyInfo
(String typestr, String hostname, int port, String user, String password)
public
NetProxyInfo
(String typestr, String hostname, int port, String user, String password, String rawWhitelist)
Public Methods
public
boolean
equals
(Object obj)
public
Authenticator
getAuthenticator
()
public
String
getHostname
()
public
String
getPassword
()
public
static
String
getProxyTypeFromIndex
(int index)
public
static
List<String>
getProxyTypes
()
public
static
List<String>
getProxyTypesWithDescriptions
()
public
String
getRecordedHostname
()
public
String
getRecordedPassword
()
public
int
getRecordedPort
()
public
String
getRecordedUser
()
public
String
getRecordedWhitelist
()
public
int
getTypeIndex
()
public
String
getWhitelist
()
public
boolean
hasCredentials
()
public
boolean
isProxy
()
public
boolean
isWhitelisted
(String url)
public
String
toString
()