Skip navigation links

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

E17274-05


oracle.stellent.ridc.protocol.http.httpurlconnection.impl
Class HttpURLConnectionPostMethod

java.lang.Object
  extended by oracle.stellent.ridc.protocol.http.httpurlconnection.impl.HttpURLConnectionMethod
      extended by oracle.stellent.ridc.protocol.http.httpurlconnection.impl.HttpURLConnectionPostMethod

All Implemented Interfaces:
RIDCHttpMethod, RIDCHttpPostMethod

public final class HttpURLConnectionPostMethod
extends HttpURLConnectionMethod
implements RIDCHttpPostMethod

Field Summary

 

Fields inherited from class oracle.stellent.ridc.protocol.http.httpurlconnection.impl.HttpURLConnectionMethod
serviceLog

 

Constructor Summary
protected HttpURLConnectionPostMethod(String uri, HttpURLConnectionClient client)
           

 

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 setFollowRedirects(boolean followRedirects)
          Set the follow directs option for the connection
 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.httpurlconnection.impl.HttpURLConnectionMethod
addRequestHeader, execute, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, 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, execute, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, setParameter, setQueryString, setRequestHeader, setServiceLog

 

Constructor Detail

HttpURLConnectionPostMethod

protected HttpURLConnectionPostMethod(String uri,
                                      HttpURLConnectionClient client)

Method Detail

setFollowRedirects

public void setFollowRedirects(boolean followRedirects)
Description copied from interface: RIDCHttpMethod
Set the follow directs option for the connection
Specified by:
setFollowRedirects in interface RIDCHttpMethod

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)
                      throws UnsupportedEncodingException,
                             IOException
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
Throws:
UnsupportedEncodingException
IOException

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)
                             throws UnsupportedEncodingException
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
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-05


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