|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.http.oracle.impl.HttpOracleClient
public class HttpOracleClient
Field Summary | |
---|---|
protected static Class |
cookie_mod the custom CookieModule class |
Constructor Summary | |
---|---|
HttpOracleClient(IdcHttpClientConfig config) |
Method Summary | |
---|---|
void |
addCookie(RIDCCookie idcCookie) Add cookie to the connection |
void |
clear() Clear the params and headers from the connection |
List<RIDCCookie> |
getCookies() Get the cookies from the connection |
HTTPClient.HTTPConnection |
getDelegateObject() Returns the underlying client object |
HttpOracleGetMethod |
getGetMethod(String url) Get the method to execute for HTTP GET |
HttpOraclePostMethod |
getPostMethod(String url) Get the method to execute for HTTP POST |
void |
resetState() Reset the state of the connection |
void |
setAuthenticationPreemptive(boolean preemptive) 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 |
Field Detail |
---|
protected static final Class cookie_mod
Constructor Detail |
---|
public HttpOracleClient(IdcHttpClientConfig config) throws IdcClientException
IdcClientException
Method Detail |
---|
public void addCookie(RIDCCookie idcCookie)
RIDCHttpClient
addCookie
in interface RIDCHttpClient
public List<RIDCCookie> getCookies()
RIDCHttpClient
getCookies
in interface RIDCHttpClient
public void clear()
RIDCHttpClient
clear
in interface RIDCHttpClient
public void resetState()
RIDCHttpClient
resetState
in interface RIDCHttpClient
public void setAuthenticationPreemptive(boolean preemptive)
RIDCHttpClient
setAuthenticationPreemptive
in interface RIDCHttpClient
public void setCredentials(String scope, Credentials idcCredentials)
RIDCHttpClient
setCredentials
in interface RIDCHttpClient
public void setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword, String proxyRealm)
RIDCHttpClient
setProxy
in interface RIDCHttpClient
proxyHost
- 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)
RIDCHttpClient
setSocketTimeout
in interface RIDCHttpClient
socketTimeout
- timeout value on milli secondspublic HttpOracleGetMethod getGetMethod(String url)
RIDCHttpClient
getGetMethod
in interface RIDCHttpClient
url
- the urlpublic HttpOraclePostMethod getPostMethod(String url)
RIDCHttpClient
getPostMethod
in interface RIDCHttpClient
url
- the urlpublic HTTPClient.HTTPConnection getDelegateObject()
RIDCHttpClient
getDelegateObject
in interface RIDCHttpClient
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |