|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpControl
| Nested Class Summary | |
|---|---|
static interface |
HttpControl.EndPoint
|
static class |
HttpControl.METHOD
|
static interface |
HttpControl.MethodType
|
| 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. |
void |
setTimeout(int socketTimeoutInMilliSeconds)
Sets the timeout until response data is received. |
| Method Detail |
|---|
void setProperties(com.bea.wli.control.dynamicProperties.HttpControlPropertiesDocument propsDoc)
throws IllegalArgumentException
propsDoc - the dynamic properties for the control.
IllegalArgumentException
void setConnectionTimeOut(int timeoutInMilliSeconds)
throws Exception
timeoutInMilliSeconds - Connection timeout in milli seconds
Exception
void setTimeout(int socketTimeoutInMilliSeconds)
throws Exception
socketTimeoutInMilliSeconds - SO_TIMEOUT in milliseconds
Exception
void setConnectionRetrycount(int retryCount)
throws Exception
retryCount - Numbers of retry request
Exception
void setCookies(com.bea.wli.control.httpCookies.CookiesDocument cookies)
throws Exception
cookies - the cookies to be set for the Http request
Exception
com.bea.wli.control.httpCookies.CookiesDocument getCookies()
throws Exception
Exception
com.bea.wli.control.httpHeaders.HeadersDocument getResponseHeaders()
throws Exception
Exception
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
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
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 | ||||||||