Skip navigation links

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

E17274-03


oracle.stellent.ridc.protocol.http.apache4.utils
Class Apache4Utils

java.lang.Object
  extended by oracle.stellent.ridc.protocol.http.apache4.utils.Apache4Utils


public class Apache4Utils
extends java.lang.Object

Apache 4.x specific utility class


Constructor Summary
Apache4Utils()
           

 

Method Summary
static java.util.List<RIDCCookie> convert(java.util.List<org.apache.http.cookie.Cookie> aCookies)
          Convert Apache cookies to generic RIDC cookies
static org.apache.http.auth.Credentials convertCredentials(Credentials idcCredentials)
          Converts the credentials between RIDC and Apache implementations
static java.util.List<? extends org.apache.http.NameValuePair> convertNVPair(java.util.List<NameValuePair> nvpairList)
          Convert RIDC name value pairs to Apache name value pairs
static java.util.List<RIDCHttpHeader> convertToRIDCHeaders(org.apache.http.Header[] allHeaders)
          Convert Apache headers to generic RIDC headers

 

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

 

Constructor Detail

Apache4Utils

public Apache4Utils()

Method Detail

convert

public static java.util.List<RIDCCookie> convert(java.util.List<org.apache.http.cookie.Cookie> aCookies)
Convert Apache cookies to generic RIDC cookies
Parameters:
aCookies - apache cookies
Returns:
the ridc cookies

convertToRIDCHeaders

public static java.util.List<RIDCHttpHeader> convertToRIDCHeaders(org.apache.http.Header[] allHeaders)
Convert Apache headers to generic RIDC headers
Parameters:
allHeaders - apache headers
Returns:
the ridc headers

convertCredentials

public static org.apache.http.auth.Credentials convertCredentials(Credentials idcCredentials)
Converts the credentials between RIDC and Apache implementations
Parameters:
idcCredentials - RIDC impl
Returns:
Apache impl

convertNVPair

public static java.util.List<? extends org.apache.http.NameValuePair> convertNVPair(java.util.List<NameValuePair> nvpairList)
Convert RIDC name value pairs to Apache name value pairs
Parameters:
nvpairList - name value pair
Returns:
the apache namevalue pairs

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.