|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.http.apache3.impl.HttpApache3Client
public class HttpApache3Client
Implementation of the Client for Apache version 3
Constructor Summary | |
---|---|
HttpApache3Client(boolean multithreaded) Create a Apache3 Client |
Method Summary | |
---|---|
void |
addCookie(RIDCCookie cookie) Add a cookie to this client |
void |
clear() Clear the parameters from the client instance |
java.util.List<RIDCCookie> |
getCookies() Get the Cookies |
org.apache.commons.httpclient.HttpClient |
getDelegateObject() Returns the underlying client object |
HttpApache3GetMethod |
getGetMethod(java.lang.String url) Get a method which can do "GET" request |
HttpApache3PostMethod |
getPostMethod(java.lang.String url) Get the method of POST requests |
void |
resetState() Reset the Http State of the client |
void |
setAuthenticationPreemptive(boolean preemptive) Set if the basic auth should be preemptive |
void |
setCredentials(java.lang.String any, Credentials idcCredentials) Set the credentials |
void |
setProxy(java.lang.String proxyHost, int proxyPort, java.lang.String proxyUsername, java.lang.String proxyPassword) Set the proxy |
void |
setSocketTimeout(int socketTimeout) Set the socket timeout for this client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpApache3Client(boolean multithreaded)
multithreaded
-Method Detail |
---|
public void clear()
clear
in interface RIDCHttpClient
public void setSocketTimeout(int socketTimeout)
setSocketTimeout
in interface RIDCHttpClient
socketTimeout
- timeout value on milli secondspublic void setProxy(java.lang.String proxyHost, int proxyPort, java.lang.String proxyUsername, java.lang.String proxyPassword)
setProxy
in interface RIDCHttpClient
proxyHost
- proxy host nameproxyPort
- proxy host portproxyUsername
- proxy user name, null if not requiredproxyPassword
- proxy user password, null if not requiredpublic void setCredentials(java.lang.String any, Credentials idcCredentials)
setCredentials
in interface RIDCHttpClient
any
-idcCredentials
-public void setAuthenticationPreemptive(boolean preemptive)
setAuthenticationPreemptive
in interface RIDCHttpClient
preemptive
-public java.util.List<RIDCCookie> getCookies()
getCookies
in interface RIDCHttpClient
public void addCookie(RIDCCookie cookie)
addCookie
in interface RIDCHttpClient
cookie
-public void resetState()
resetState
in interface RIDCHttpClient
public HttpApache3GetMethod getGetMethod(java.lang.String url)
getGetMethod
in interface RIDCHttpClient
url
- the urlpublic HttpApache3PostMethod getPostMethod(java.lang.String url)
getPostMethod
in interface RIDCHttpClient
url
- the urlpublic org.apache.commons.httpclient.HttpClient getDelegateObject()
getDelegateObject
in interface RIDCHttpClient
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |