public class

NetProxyInfo

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.net.NetProxyInfo

Class Overview

Network proxy information, including a standard Proxy object as well as optional user authentication information.

Immutable objects; safe comparison via hashCode/equals.

Summary

Public Constructors
NetProxyInfo(Proxy proxy)
NetProxyInfo(Proxy proxy, String user, String password)
Public Methods
static NetProxyInfo build(String type, String hostname, int port, String user, String password)
boolean equals(Object obj)
Authenticator getAuthenticator()
String getHostname()
String getPassword()
int getPort()
Proxy getProxy()
static List<String> getProxyTypes()
String getType()
String getUser()
boolean hasCredentials()
int hashCode()
boolean isProxy()
static NetProxyInfo parse(String s)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NetProxyInfo (Proxy proxy)

public NetProxyInfo (Proxy proxy, String user, String password)

Public Methods

public static NetProxyInfo build (String type, String hostname, int port, String user, String password)

public boolean equals (Object obj)

public Authenticator getAuthenticator ()

public String getHostname ()

public String getPassword ()

public int getPort ()

public Proxy getProxy ()

public static List<String> getProxyTypes ()

public String getType ()

public String getUser ()

public boolean hasCredentials ()

public int hashCode ()

public boolean isProxy ()

public static NetProxyInfo parse (String s)

public String toString ()