Skip navigation links

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

E17274-04


oracle.stellent.ridc.common.http
Interface RIDCHttpClient

All Known Implementing Classes:
HttpApache3Client, HttpApache4Client, HttpOracleClient

public interface RIDCHttpClient

Http Client for RIDC connections


Method Summary
 void addCookie(RIDCCookie cookie)
          Add cookie to the connection
 void clear()
          Clear the params and headers from the connection
 List<RIDCCookie> getCookies()
          Get the cookies from the connection
 Object getDelegateObject()
          Returns the underlying client object
 RIDCHttpGetMethod getGetMethod(String url)
          Get the method to execute for HTTP GET
 RIDCHttpPostMethod getPostMethod(String url)
          Get the method to execute for HTTP POST
 void resetState()
          Reset the state of the connection
 void setAuthenticationPreemptive(boolean b)
          Set authentication preemptive
 void setCredentials(String scope, Credentials idcCredentials)
          Set credentials for the connection
 void setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword, String proxyRealm)
          Set proxy for the connection
 void setSocketTimeout(int socketTimeout)
          Set the socket timeout

 

Method Detail

addCookie

void addCookie(RIDCCookie cookie)
Add cookie to the connection
Parameters:
cookie -

clear

void clear()
Clear the params and headers from the connection

getCookies

List<RIDCCookie> getCookies()
Get the cookies from the connection
Returns:
list of cookies

resetState

void resetState()
Reset the state of the connection

setAuthenticationPreemptive

void setAuthenticationPreemptive(boolean b)
Set authentication preemptive
Parameters:
b -

setCredentials

void setCredentials(String scope,
                    Credentials idcCredentials)
Set credentials for the connection
Parameters:
scope -
idcCredentials -

setProxy

void setProxy(String proxyHost,
              int proxyPort,
              String proxyUsername,
              String proxyPassword,
              String proxyRealm)
Set proxy for the connection
Parameters:
proxyHost - proxy host name
proxyPort - proxy host port
proxyUsername - proxy user name, null if not required
proxyPassword - proxy user password, null if not required
proxyRealm - proxy realm, null if not required

setSocketTimeout

void setSocketTimeout(int socketTimeout)
Set the socket timeout
Parameters:
socketTimeout - timeout value on milli seconds

getGetMethod

RIDCHttpGetMethod getGetMethod(String url)
Get the method to execute for HTTP GET
Parameters:
url - the url
Returns:
the appropriate method implementation

getPostMethod

RIDCHttpPostMethod getPostMethod(String url)
Get the method to execute for HTTP POST
Parameters:
url - the url
Returns:
the appropriate method implementation

getDelegateObject

Object getDelegateObject()
Returns the underlying client object
Returns:
underlying client object

Skip navigation links

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

E17274-04


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