|
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.apache4.impl.HttpApache4Client
public class HttpApache4Client
Implementation of the Apache 4.x Http client
Constructor Summary | |
---|---|
HttpApache4Client() Create the client |
Method Summary | |
---|---|
void |
addCookie(RIDCCookie cookie) Add cookie to the connection |
void |
clear() Clear the params and headers from the connection |
java.util.List<RIDCCookie> |
getCookies() Get the cookies from the connection |
org.apache.http.impl.client.DefaultHttpClient |
getDelegateObject() Returns the underlying client object |
HttpApache4GetMethod |
getGetMethod(java.lang.String url) Get the method to execute for HTTP GET |
HttpApache4PostMethod |
getPostMethod(java.lang.String url) Get the method to execute for HTTP POST |
void |
resetState() Reset the state of the connection |
void |
setAuthenticationPreemptive(boolean authPremptive) Set authentication preemptive |
void |
setCredentials(java.lang.String scope, Credentials idcCredentials) Set credentials for the connection |
void |
setProxy(java.lang.String proxyHost, int proxyPort, java.lang.String proxyUsername, java.lang.String proxyPassword) 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 HttpApache4Client()
Method Detail |
---|
public void addCookie(RIDCCookie cookie)
addCookie
in interface RIDCHttpClient
cookie
-public void clear()
clear
in interface RIDCHttpClient
public java.util.List<RIDCCookie> getCookies()
getCookies
in interface RIDCHttpClient
public void resetState()
resetState
in interface RIDCHttpClient
public void setAuthenticationPreemptive(boolean authPremptive)
setAuthenticationPreemptive
in interface RIDCHttpClient
authPremptive
-public void setCredentials(java.lang.String scope, Credentials idcCredentials)
setCredentials
in interface RIDCHttpClient
scope
-idcCredentials
-public 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 setSocketTimeout(int socketTimeout)
setSocketTimeout
in interface RIDCHttpClient
socketTimeout
- timeout value on milli secondspublic HttpApache4GetMethod getGetMethod(java.lang.String url)
getGetMethod
in interface RIDCHttpClient
url
- the urlpublic HttpApache4PostMethod getPostMethod(java.lang.String url)
getPostMethod
in interface RIDCHttpClient
url
- the urlpublic org.apache.http.impl.client.DefaultHttpClient 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 |