|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.WebProxy
public class WebProxy
WebProxy is used for setting proxy details for proxy authentication schemes such as basic, digest, NTLM, and Kerberos authentication.
Constructor Summary | |
---|---|
WebProxy(java.lang.String host)
Initializes a new instance to use specified proxy with default port 80. |
|
WebProxy(java.lang.String host,
int port)
Initializes a new instance to use specified proxy details. |
Method Summary | |
---|---|
protected java.lang.String |
getHost()
Gets the Proxy Host. |
protected int |
getPort()
Gets the Proxy Port. |
void |
setCredentials(java.lang.String user,
java.lang.String pwd,
java.lang.String domain)
This method is used to set proxy credentials to a Web Request before the request is made. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebProxy(java.lang.String host, int port)
host
- proxy host.port
- proxy port.public WebProxy(java.lang.String host)
host
- proxy host.Method Detail |
---|
protected java.lang.String getHost()
protected int getPort()
public void setCredentials(java.lang.String user, java.lang.String pwd, java.lang.String domain)
user
- The proxy username.pwd
- The proxy password.domain
- The proxy domain.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |