|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.dsws.ProxyParameters
public class ProxyParameters
The ProxyParameters object stocks information used to access Web Services via a HTTP proxy. This object is passed to the Connection object.
Example: Create a session object using a HTTP proxy.
URL boConURL = new URL("http://
com.businessobjects.dsws.Connection boConnection;
boConnection = new Connection(boConURL);
ProxyParameters myParams;
myParams = new ProxyParameters("http://proxy.myserver","8888",null,null);
boConnection.setProxyParameters(m_oPP);
Session mySession = new Session(m_oCon);
Connection,
ProxyParameters,
Session,
Serialized Form| Constructor Summary | |
|---|---|
ProxyParameters()
Instantiate a new blank ProxyParameters object. |
|
ProxyParameters(java.lang.String proxyHost,
java.lang.String proxyPort,
java.lang.String proxyUser,
java.lang.String proxyPassword)
Instantiate a new ProxyParameters object and set all parameters. |
|
| Method Summary | |
|---|---|
ProxyParameters |
copy()
Internal Use Only. |
java.lang.String |
getProxyHost()
Return the URL of the proxy server. |
java.lang.String |
getProxyPassword()
Return the password of the proxy user. |
java.lang.String |
getProxyPort()
Returns the port used to contact proxy server. |
java.lang.String |
getProxyUser()
Return the name of the proxy user. |
void |
setProxyHost(java.lang.String proxyHost)
Set the URL of the proxy server. |
void |
setProxyPassword(java.lang.String proxyPassword)
Set the password of the proxy user. |
void |
setProxyPort(java.lang.String proxyPort)
Set the port used to contact proxy server. |
void |
setProxyUser(java.lang.String proxyUser)
Set the name of the proxy user. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyParameters()
public ProxyParameters(java.lang.String proxyHost,
java.lang.String proxyPort,
java.lang.String proxyUser,
java.lang.String proxyPassword)
Example:
com.businessobjects.dsws.Connection boConnection = new com.businessobjects.dsws.Connection(new URL(aURL));
ProxyParameters boProxyParams = new ProxyParameters( "http://proxy.myserver","8888",null,null);
boConnection.setProxyParameters(boProxyParams);
proxyHost - The URL of the proxy server.proxyPort - The port number to be used.proxyUser - The name of the user to be identified.proxyPassword - The password of the user to be identified.| Method Detail |
|---|
public java.lang.String getProxyHost()
public void setProxyHost(java.lang.String proxyHost)
proxyHost - The URL of the proxy server.public java.lang.String getProxyPort()
public void setProxyPort(java.lang.String proxyPort)
proxyPort - A string containing the port number to be used.public java.lang.String getProxyUser()
public void setProxyUser(java.lang.String proxyUser)
proxyUser - The name of the proxy user.public java.lang.String getProxyPassword()
public void setProxyPassword(java.lang.String proxyPassword)
proxyPassword - The password of the proxy user.public ProxyParameters copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||