Skip navigation links
oracle.stellent.ridc.common.http.utils
Class RIDCHttpClientUtils
java.lang.Object
oracle.stellent.ridc.common.http.utils.RIDCHttpClientUtils
-
public class RIDCHttpClientUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIDCHttpClientUtils
public RIDCHttpClientUtils()
createHttpClient
public static RIDCHttpClient createHttpClient(IdcHttpClientConfig config,
boolean multithreaded)
throws IdcClientException
-
- Throws:
IdcClientException
addRequestData
public static void addRequestData(IdcContext context,
RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod,
boolean addCookies)
- Set standard request headers, cookies and other info into the HTTP method.
-
- Parameters:
context
- the idc context
httpClient
- the http client
httpMethod
- the http method to set the parameters
addCookies
-
getResponseHeaders
public static java.util.Map<java.lang.String,java.lang.String> getResponseHeaders(java.util.List<RIDCHttpHeader> headers)
isRedirectStatus
public static boolean isRedirectStatus(int statusCode)
Skip navigation links
Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.