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 HttpOraclePostMethod

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

All Implemented Interfaces:
RIDCHttpMethod, RIDCHttpPostMethod

public class HttpOraclePostMethod
extends HttpOracleMethod
implements RIDCHttpPostMethod

Field Summary

 

Fields inherited from class oracle.stellent.ridc.protocol.http.oracle.impl.HttpOracleMethod
m_client, m_followRedirects, m_formData, m_headers, m_response, m_serviceLog, m_url, redir_mod

 

Method Summary
 void addLoginFormCredentials(IdcContext.LoginForm loginForm, Credentials.BasicCredentials credentials)
          Add credentials for a login form
 void addParameter(String name, String value)
          Add a parameter to the request
 int execute()
          Execute the request
 void setRequestEntity(List<RIDCHttpPart<?>> multipartParts, String encoding)
          Set multipart request data for POST action
 void setRequestEntity(String content, String contentType, String encoding)
          Set request data for POST action

 

Methods inherited from class oracle.stellent.ridc.protocol.http.oracle.impl.HttpOracleMethod
addRequestHeader, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, setFollowRedirects, setParameter, setQueryString, setRequestHeader, setServiceLog

 

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

 

Methods inherited from interface oracle.stellent.ridc.common.http.RIDCHttpMethod
addRequestHeader, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, setFollowRedirects, setParameter, setQueryString, setRequestHeader, setServiceLog

 

Method Detail

execute

public int execute()
            throws ProtocolException,
                   IOException
Description copied from interface: RIDCHttpMethod
Execute the request
Specified by:
execute in interface RIDCHttpMethod
Returns:
status code of the response
Throws:
IOException
ProtocolException

setRequestEntity

public void setRequestEntity(String content,
                             String contentType,
                             String encoding)
                      throws UnsupportedEncodingException
Description copied from interface: RIDCHttpPostMethod
Set request data for POST action
Specified by:
setRequestEntity in interface RIDCHttpPostMethod
Parameters:
content - the content to be posted
contentType - the content type
encoding - the content encoding
Throws:
UnsupportedEncodingException

setRequestEntity

public void setRequestEntity(List<RIDCHttpPart<?>> multipartParts,
                             String encoding)
Description copied from interface: RIDCHttpPostMethod
Set multipart request data for POST action
Specified by:
setRequestEntity in interface RIDCHttpPostMethod
Parameters:
multipartParts - the content "parts" to be posted

addParameter

public void addParameter(String name,
                         String value)
Description copied from interface: RIDCHttpPostMethod
Add a parameter to the request
Specified by:
addParameter in interface RIDCHttpPostMethod
Parameters:
name - parameter name
value - parameter value

addLoginFormCredentials

public void addLoginFormCredentials(IdcContext.LoginForm loginForm,
                                    Credentials.BasicCredentials credentials)
Description copied from interface: RIDCHttpPostMethod
Add credentials for a login form
Specified by:
addLoginFormCredentials in interface RIDCHttpPostMethod
Parameters:
loginForm - the login form
credentials - the login credentials

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.