|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.http.HttpClientUtils
public abstract class HttpClientUtils
Utility methods for working with the HttpClient APIs
Constructor Summary | |
---|---|
HttpClientUtils() |
Method Summary | |
---|---|
static void |
addRequestData(IdcContext context, org.apache.commons.httpclient.HttpClient httpClient, org.apache.commons.httpclient.HttpMethod httpMethod, boolean addCookies) Set standard request headers, cookies and other info into the HTTP method. |
static org.apache.commons.httpclient.HttpClient |
createHttpClient(boolean multithreaded) |
static org.apache.commons.httpclient.Credentials |
getCredentials(Credentials idcCredentials) Create the appropriate credentials from the given identity |
static org.apache.commons.httpclient.Credentials |
getCrendentials(Credentials idcCredentials) Deprecated. Method name misspelled, replaced by getCredentials(oracle.stellent.ridc.auth.Credentials) |
static java.util.Map<java.lang.String,java.lang.String> |
getResponseHeaders(org.apache.commons.httpclient.Header[] headers) Convert the header array into a map of string name to value |
static boolean |
isRedirectStatus(int status) Determine if the given http status is a redirect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpClientUtils()
Method Detail |
---|
public static org.apache.commons.httpclient.HttpClient createHttpClient(boolean multithreaded)
multithreaded
- if true, assign the multithreaded managerpublic static org.apache.commons.httpclient.Credentials getCredentials(Credentials idcCredentials)
idcCredentials
- the IDC credentialspublic static org.apache.commons.httpclient.Credentials getCrendentials(Credentials idcCredentials)
getCredentials(oracle.stellent.ridc.auth.Credentials)
idcCredentials
- the IDC credentialspublic static boolean isRedirectStatus(int status)
status
- the statuspublic static void addRequestData(IdcContext context, org.apache.commons.httpclient.HttpClient httpClient, org.apache.commons.httpclient.HttpMethod httpMethod, boolean addCookies)
context
- the idc contexthttpClient
- the http clienthttpMethod
- the http method to set the parametersaddCookies
-public static java.util.Map<java.lang.String,java.lang.String> getResponseHeaders(org.apache.commons.httpclient.Header[] headers)
headers
- the http method headers
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |