|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.util.shop.ProxyShop
Factory class for proxy connection concerns in RSSOwl.
Field Summary | |
static Hashtable |
proxySettings
The proxy settings (host, port, user, pw) in a hashtable |
Constructor Summary | |
private |
ProxyShop()
This utility class constructor is hidden |
Method Summary | |
static boolean |
isProxyProtected()
Check if the Proxy is protected with Authentication. |
static boolean |
isUseProxy()
Get wether the proxy should be used |
static void |
setDomain(String domain)
Set the Domain to use with the proxy |
static void |
setHost(String host)
Set the Host to use as proxy |
static void |
setPassword(String password)
Set the password to use with the proxy |
static void |
setPort(String port)
Set the port to use with the proxy |
static void |
setUpProxy(org.apache.commons.httpclient.HttpClient client)
Set up the proxy for a given HttpClient |
static void |
setUseProxy(String use)
Set wether to use the proxy at all |
static void |
setUsername(String username)
Set the username to use with the proxy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static Hashtable proxySettings
Constructor Detail |
private ProxyShop()
Method Detail |
public static boolean isProxyProtected()
public static boolean isUseProxy()
public static void setDomain(String domain)
domain
- The Domain to use with the proxy (NTLM)public static void setHost(String host)
host
- The host to use as proxypublic static void setPassword(String password)
password
- The password to use with the proxypublic static void setPort(String port)
port
- The port to use with the proxypublic static void setUpProxy(org.apache.commons.httpclient.HttpClient client)
client
- The HttpClient to setup the Proxy Connectionpublic static void setUseProxy(String use)
use
- If TRUE, use the proxypublic static void setUsername(String username)
username
- The username to use with the proxy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |