|
|||||||||
| 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(String host)
Initializes a new instance to use specified proxy with default port 80. |
|
WebProxy(String host,
int port)
Initializes a new instance to use specified proxy details. |
|
| Method Summary | |
|---|---|
protected String |
getHost()
Gets the Proxy Host. |
protected int |
getPort()
Gets the Proxy Port. |
void |
setCredentials(String user,
String pwd,
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(String host,
int port)
host - proxy host.port - proxy port.public WebProxy(String host)
host - proxy host.| Method Detail |
|---|
protected String getHost()
protected int getPort()
public void setCredentials(String user,
String pwd,
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 | ||||||||