|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.dsws.Connection
public class Connection
The Connection class contains all information necessary to connect to Web Services.
Example:Create a Connection to the session service.
URL objURL = new URL("http://
Connection objConnection = new Connection(objURL);
AuthenticationCredential,
Connection,
ProxyParameters,
Session,
Serialized Form| Constructor Summary | |
|---|---|
Connection(java.net.URL url)
Initializes a new instance of the Connection class
from the specified inquiry URL. |
|
| Method Summary | |
|---|---|
Connection |
copy()
Internal Use Only |
Connection |
copy(java.lang.String strUrl)
Internal Use Only |
Connection |
copy(java.net.URL objUrl)
Internal Use Only |
void |
enableKerberosAuthentication()
|
AuthenticationCredential |
getAuthenticationCredential()
Returns the Credentials to contact the server hosting BusinessObjects Web Services provider. |
ProxyParameters |
getProxyParameters()
Returns the HTTP proxy settings used to connect to the Web Sevice. |
int |
getTimeOut()
Returns the TimeOut property. |
java.net.URL |
getURL()
Returns the URL the Web Sevice will connect to. |
boolean |
IsKerberosAuthenticationEnabled()
|
void |
setAuthenticationCredential(AuthenticationCredential authenticationCredential)
Set the Credentials to contact the server hosting the BusinessObjects Web Services provider. |
void |
setProxyParameters(ProxyParameters proxyParameter)
Set the HTTP proxy settings used to connect to the Web Sevice. |
void |
setTimeOut(int timeOut)
Set the TimeOut property. |
void |
setURL(java.net.URL url)
Set the URL the Web Service will connect to. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Connection(java.net.URL url)
Connection class
from the specified inquiry URL.
Example:
URL objURL = new URL("http://
Connection objConnection = new Connection(objURL);
url - a URL to connect to a specific web service. This URL is either supplied by
the system administrator or obtained using the getAssociatedServicesURL methodSession.getAssociatedServicesURL(java.lang.String strServiceName)| Method Detail |
|---|
public Connection copy()
throws java.net.MalformedURLException
Internal Use Only
java.net.MalformedURLException
public Connection copy(java.lang.String strUrl)
throws java.net.MalformedURLException
Internal Use Only
java.net.MalformedURLExceptionpublic Connection copy(java.net.URL objUrl)
Internal Use Only
public void setURL(java.net.URL url)
url - a URL to connect to a specific web service.public java.net.URL getURL()
public void setTimeOut(int timeOut)
timeOut - the Web Service timeout in seconds.public int getTimeOut()
public void setProxyParameters(ProxyParameters proxyParameter)
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);
proxyParameter - a ProxyParameters objectProxyParameterspublic ProxyParameters getProxyParameters()
ProxyParameterspublic void setAuthenticationCredential(AuthenticationCredential authenticationCredential)
authenticationCredential - AuthenticationCredentialpublic AuthenticationCredential getAuthenticationCredential()
public void enableKerberosAuthentication()
public boolean IsKerberosAuthenticationEnabled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||