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 RIDCHttpPostMethod

All Superinterfaces:
RIDCHttpMethod
All Known Implementing Classes:
HttpApache3PostMethod, HttpApache4PostMethod, HttpOraclePostMethod

public interface RIDCHttpPostMethod
extends RIDCHttpMethod

Generic interface for HTTP POST Method


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
 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 interface oracle.stellent.ridc.common.http.RIDCHttpMethod
addRequestHeader, execute, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, setFollowRedirects, setParameter, setQueryString, setRequestHeader, setServiceLog

 

Method Detail

setRequestEntity

void setRequestEntity(String content,
                      String contentType,
                      String encoding)
                      throws UnsupportedEncodingException
Set request data for POST action
Parameters:
content - the content to be posted
contentType - the content type
encoding - the content encoding
Throws:
UnsupportedEncodingException

setRequestEntity

void setRequestEntity(List<RIDCHttpPart<?>> multipartParts,
                      String encoding)
                      throws UnsupportedEncodingException,
                             IOException
Set multipart request data for POST action
Parameters:
multipartParts - the content "parts" to be posted
encoding -
Throws:
UnsupportedEncodingException
IOException

addParameter

void addParameter(String name,
                  String value)
Add a parameter to the request
Parameters:
name - parameter name
value - parameter value

addLoginFormCredentials

void addLoginFormCredentials(IdcContext.LoginForm loginForm,
                             Credentials.BasicCredentials credentials)
                             throws UnsupportedEncodingException
Add credentials for a login form
Parameters:
loginForm - the login form
credentials - the login credentials
Throws:
UnsupportedEncodingException

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.