|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HTTP Control base interface
Nested Class Summary |
Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
Method Summary | |
com.bea.wli.control.httpCookies.CookiesDocument |
getCookies()
Get the cookies |
com.bea.wli.control.httpHeaders.HeadersDocument |
getResponseHeaders()
Get the response headers |
void |
setClientSideSSL(String keyStoreType,
String keyStoreLocation,
String keyStorePassword,
String keyPassword)
Sets the Client side SSL properties for the control. |
void |
setConnectionRetrycount(int retryCount)
Number of times the application will retry for the request.If not specified it will be tried once |
void |
setConnectionTimeOut(int timeoutInMilliSeconds)
Sets the timeout until a connection is etablished. |
void |
setCookies(com.bea.wli.control.httpCookies.CookiesDocument cookies)
Set the Cookies |
void |
setProperties(com.bea.wli.control.dynamicProperties.HttpControlPropertiesDocument propsDoc)
Sets the dynamic properties for the control. |
void |
setProxyConfig(String host,
int port,
String userName,
String password)
Sets the Proxy server properties for the control. |
void |
setServerSideSSL(String trustStoreLocation,
boolean hostVerificationFlag)
Sets the Server side SSL properties for the control. |
Method Detail |
public void setProperties(com.bea.wli.control.dynamicProperties.HttpControlPropertiesDocument propsDoc) throws IllegalArgumentException
propsDoc
- the dynamic properties for the control.
IllegalArgumentException
public void setConnectionTimeOut(int timeoutInMilliSeconds) throws Exception
timeoutInMilliSeconds
- Connection timeout in milli seconds
Exception
public void setConnectionRetrycount(int retryCount) throws Exception
retryCount
- Numbers of retry request
Exception
public void setCookies(com.bea.wli.control.httpCookies.CookiesDocument cookies) throws Exception
cookies
- the cookies to be set for the Http request
Exception
public com.bea.wli.control.httpCookies.CookiesDocument getCookies() throws Exception
Exception
public com.bea.wli.control.httpHeaders.HeadersDocument getResponseHeaders() throws Exception
Exception
public void setServerSideSSL(String trustStoreLocation, boolean hostVerificationFlag) throws Exception
trustStoreLocation
- the trust store location needs to be specified for one way sslhostVerificationFlag
- Host Verification Ignored flag.If true, then host name varification will be ignored
Exception
public void setProxyConfig(String host, int port, String userName, String password) throws IllegalArgumentException
host
- proxy host nameport
- proxy host portuserName
- user Name for the connecting to proxy hostpassword
- password for the user connecting to proxy host
IllegalArgumentException
public void setClientSideSSL(String keyStoreType, String keyStoreLocation, String keyStorePassword, String keyPassword) throws Exception
keyStoreType
- Key Store Type.There are two keystore types(JKS, PKCS12).If user don't give anything, the dafault key store type would be selectedkeyStoreLocation
- Key Store location needs to be set for two way sslkeyStorePassword
- Key store password needs to be set for two way sslkeyPassword
- Private key password needs to be set for two way ssl
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |