|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.http.oracle.impl.HttpOracleMethod
oracle.stellent.ridc.protocol.http.oracle.impl.HttpOraclePostMethod
public class HttpOraclePostMethod
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 |
---|
public int execute() throws ProtocolException, IOException
RIDCHttpMethod
execute
in interface RIDCHttpMethod
IOException
ProtocolException
public void setRequestEntity(String content, String contentType, String encoding) throws UnsupportedEncodingException
RIDCHttpPostMethod
setRequestEntity
in interface RIDCHttpPostMethod
content
- the content to be postedcontentType
- the content typeencoding
- the content encodingUnsupportedEncodingException
public void setRequestEntity(List<RIDCHttpPart<?>> multipartParts, String encoding)
RIDCHttpPostMethod
setRequestEntity
in interface RIDCHttpPostMethod
multipartParts
- the content "parts" to be postedpublic void addParameter(String name, String value)
RIDCHttpPostMethod
addParameter
in interface RIDCHttpPostMethod
name
- parameter namevalue
- parameter valuepublic void addLoginFormCredentials(IdcContext.LoginForm loginForm, Credentials.BasicCredentials credentials)
RIDCHttpPostMethod
addLoginFormCredentials
in interface RIDCHttpPostMethod
loginForm
- the login formcredentials
- the login credentials
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |