Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


oracle.stellent.ridc.common.http.utils
Class RIDCHttpClientUtils

java.lang.Object
  extended by oracle.stellent.ridc.common.http.utils.RIDCHttpClientUtils


public class RIDCHttpClientUtils
extends java.lang.Object

Constructor Summary
RIDCHttpClientUtils()
           

 

Method Summary
static void addRequestData(IdcContext context, RIDCHttpClient httpClient, RIDCHttpMethod httpMethod, boolean addCookies)
          Set standard request headers, cookies and other info into the HTTP method.
static RIDCHttpClient createHttpClient(IdcHttpClientConfig config, boolean multithreaded)
           
static java.util.Map<java.lang.String,java.lang.String> getResponseHeaders(java.util.List<RIDCHttpHeader> headers)
           
static boolean isRedirectStatus(int statusCode)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RIDCHttpClientUtils

public RIDCHttpClientUtils()

Method Detail

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

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.