|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.http.apache3.impl.HttpApache3Method<org.apache.commons.httpclient.methods.PostMethod>
oracle.stellent.ridc.protocol.http.apache3.impl.HttpApache3PostMethod
public class HttpApache3PostMethod
Http Post method implementation for Apache 3.x
Field Summary |
---|
Fields inherited from class oracle.stellent.ridc.protocol.http.apache3.impl.HttpApache3Method |
---|
apacheMethod, ridcClient |
Constructor Summary | |
---|---|
HttpApache3PostMethod(java.lang.String url, HttpApache3Client httpApache3Client) Constructor |
Method Summary | |
---|---|
void |
addLoginFormCredentials(IdcContext.LoginForm loginForm, Credentials.BasicCredentials credentials) Add credentials for a form-based login |
void |
addParameter(java.lang.String paramName, java.lang.String paramValue) Add a parameter to the request |
void |
setParameter(java.lang.String parameterName, java.lang.Object parameterValue) Set the parameter to the request |
void |
setRequestEntity(java.util.List<RIDCHttpPart<?>> multipartParts, java.lang.String encoding) Set entities for multipart post |
void |
setRequestEntity(java.lang.String content, java.lang.String contentType, java.lang.String encoding) Set a string entity to the request |
Methods inherited from class oracle.stellent.ridc.protocol.http.apache3.impl.HttpApache3Method |
---|
addRequestHeader, execute, getDelegateObject, getResponseBodyAsStream, getResponseHeader, getResponseHeaders, getRidcClient, getStatusCode, getStatusLine, getURI, releaseConnection, setCookiePolicy, setFollowRedirects, setParameter, setQueryString, setRequestHeader |
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, setFollowRedirects, setParameter, setQueryString, setRequestHeader |
Constructor Detail |
---|
public HttpApache3PostMethod(java.lang.String url, HttpApache3Client httpApache3Client)
url
- the urlhttpApache3Client
- the associated clientMethod Detail |
---|
public void addParameter(java.lang.String paramName, java.lang.String paramValue)
addParameter
in interface RIDCHttpPostMethod
paramName
- the parameter nameparamValue
- the parameter valuepublic void setParameter(java.lang.String parameterName, java.lang.Object parameterValue)
parameterName
- the parameter nameparameterValue
- the parameter valuepublic void setRequestEntity(java.lang.String content, java.lang.String contentType, java.lang.String encoding) throws java.io.UnsupportedEncodingException
setRequestEntity
in interface RIDCHttpPostMethod
content
- the content to be postedcontentType
- the content typeencoding
- the content encodingjava.io.UnsupportedEncodingException
public void setRequestEntity(java.util.List<RIDCHttpPart<?>> multipartParts, java.lang.String encoding)
setRequestEntity
in interface RIDCHttpPostMethod
multipartParts
- the content "parts" to be postedencoding
-public void addLoginFormCredentials(IdcContext.LoginForm loginForm, Credentials.BasicCredentials credentials)
addLoginFormCredentials
in interface RIDCHttpPostMethod
loginForm
- the login formcredentials
- the login credentials
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |