|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.protocol.http.httpurlconnection.impl.HttpURLConnectionClient
public class HttpURLConnectionClient
RIDC http protocol implemented using HttpURLConnection
| Constructor Summary | |
|---|---|
HttpURLConnectionClient(IdcHttpClientConfig config) |
|
| Method Summary | |
|---|---|
void |
addCookie(RIDCCookie cookie)Add cookie to the connection |
void |
clear()Clear the params and headers from the connection |
List<RIDCCookie> |
getCookies()Get the cookies from the connection |
Object |
getDelegateObject()Returns the underlying client object |
HttpURLConnectionGetMethod |
getGetMethod(String url)Get the method to execute for HTTP GET |
HttpURLConnectionPostMethod |
getPostMethod(String url)Get the method to execute for HTTP POST |
void |
resetState()Reset the state of the connection |
void |
setAuthenticationPreemptive(boolean b)Set authentication preemptive |
void |
setCredentials(String scope, Credentials idcCredentials)Set credentials for the connection |
void |
setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword, String proxyRealm)Set proxy for the connection |
void |
setSocketTimeout(int socketTimeout)Set the socket timeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpURLConnectionClient(IdcHttpClientConfig config)
throws IdcClientException
IdcClientException| Method Detail |
|---|
public void addCookie(RIDCCookie cookie)
RIDCHttpClientaddCookie in interface RIDCHttpClientpublic void clear()
RIDCHttpClientclear in interface RIDCHttpClientpublic List<RIDCCookie> getCookies()
RIDCHttpClientgetCookies in interface RIDCHttpClientpublic void resetState()
RIDCHttpClientresetState in interface RIDCHttpClientpublic void setAuthenticationPreemptive(boolean b)
RIDCHttpClientsetAuthenticationPreemptive in interface RIDCHttpClient
public void setCredentials(String scope,
Credentials idcCredentials)
RIDCHttpClientsetCredentials in interface RIDCHttpClient
public void setProxy(String proxyHost,
int proxyPort,
String proxyUsername,
String proxyPassword,
String proxyRealm)
RIDCHttpClientsetProxy in interface RIDCHttpClientproxyHost - proxy host nameproxyPort - proxy host portproxyUsername - proxy user name, null if not requiredproxyPassword - proxy user password, null if not requiredproxyRealm - proxy realm, null if not requiredpublic void setSocketTimeout(int socketTimeout)
RIDCHttpClientsetSocketTimeout in interface RIDCHttpClientsocketTimeout - timeout value on milli secondspublic HttpURLConnectionGetMethod getGetMethod(String url)
RIDCHttpClientgetGetMethod in interface RIDCHttpClienturl - the urlpublic HttpURLConnectionPostMethod getPostMethod(String url)
RIDCHttpClientgetPostMethod in interface RIDCHttpClienturl - the urlpublic Object getDelegateObject()
RIDCHttpClientgetDelegateObject in interface RIDCHttpClient
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||