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.protocol.http.oracle.impl
Class HttpOracleClient

java.lang.Object
  extended by oracle.stellent.ridc.protocol.http.oracle.impl.HttpOracleClient

All Implemented Interfaces:
RIDCHttpClient

public class HttpOracleClient
extends Object
implements RIDCHttpClient

Field Summary
protected static Class cookie_mod
          the custom CookieModule class

 

Constructor Summary
HttpOracleClient(IdcHttpClientConfig config)
           

 

Method Summary
 void addCookie(RIDCCookie idcCookie)
          Add cookie to the connection
 void clear()
          Clear the params and headers from the connection
 List<RIDCCookie> getCookies()
          Get the cookies from the connection
 HTTPClient.HTTPConnection getDelegateObject()
          Returns the underlying client object
 HttpOracleGetMethod getGetMethod(String url)
          Get the method to execute for HTTP GET
 HttpOraclePostMethod getPostMethod(String url)
          Get the method to execute for HTTP POST
 void resetState()
          Reset the state of the connection
 void setAuthenticationPreemptive(boolean preemptive)
          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

 

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

 

Field Detail

cookie_mod

protected static final Class cookie_mod
the custom CookieModule class

Constructor Detail

HttpOracleClient

public HttpOracleClient(IdcHttpClientConfig config)
                 throws IdcClientException
Throws:
IdcClientException

Method Detail

addCookie

public void addCookie(RIDCCookie idcCookie)
Description copied from interface: RIDCHttpClient
Add cookie to the connection
Specified by:
addCookie in interface RIDCHttpClient

getCookies

public List<RIDCCookie> getCookies()
Description copied from interface: RIDCHttpClient
Get the cookies from the connection
Specified by:
getCookies in interface RIDCHttpClient
Returns:
list of cookies

clear

public void clear()
Description copied from interface: RIDCHttpClient
Clear the params and headers from the connection
Specified by:
clear in interface RIDCHttpClient

resetState

public void resetState()
Description copied from interface: RIDCHttpClient
Reset the state of the connection
Specified by:
resetState in interface RIDCHttpClient

setAuthenticationPreemptive

public void setAuthenticationPreemptive(boolean preemptive)
Description copied from interface: RIDCHttpClient
Set authentication preemptive
Specified by:
setAuthenticationPreemptive in interface RIDCHttpClient

setCredentials

public void setCredentials(String scope,
                           Credentials idcCredentials)
Description copied from interface: RIDCHttpClient
Set credentials for the connection
Specified by:
setCredentials in interface RIDCHttpClient

setProxy

public void setProxy(String proxyHost,
                     int proxyPort,
                     String proxyUsername,
                     String proxyPassword,
                     String proxyRealm)
Description copied from interface: RIDCHttpClient
Set proxy for the connection
Specified by:
setProxy in interface RIDCHttpClient
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

public void setSocketTimeout(int socketTimeout)
Description copied from interface: RIDCHttpClient
Set the socket timeout
Specified by:
setSocketTimeout in interface RIDCHttpClient
Parameters:
socketTimeout - timeout value on milli seconds

getGetMethod

public HttpOracleGetMethod getGetMethod(String url)
Description copied from interface: RIDCHttpClient
Get the method to execute for HTTP GET
Specified by:
getGetMethod in interface RIDCHttpClient
Parameters:
url - the url
Returns:
the appropriate method implementation

getPostMethod

public HttpOraclePostMethod getPostMethod(String url)
Description copied from interface: RIDCHttpClient
Get the method to execute for HTTP POST
Specified by:
getPostMethod in interface RIDCHttpClient
Parameters:
url - the url
Returns:
the appropriate method implementation

getDelegateObject

public HTTPClient.HTTPConnection getDelegateObject()
Description copied from interface: RIDCHttpClient
Returns the underlying client object
Specified by:
getDelegateObject in interface RIDCHttpClient
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.