|
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 |
public interface RIDCHttpMethod
Generic interface for HTTP Methods/Actions (GET and POST)
Method Summary | |
---|---|
void |
addRequestHeader(java.lang.String name, java.lang.String value) Add a request header |
int |
execute() Execute the request |
java.io.InputStream |
getResponseBodyAsStream() Get the response as a stream |
RIDCHttpHeader |
getResponseHeader(java.lang.String headerName) Get response header |
java.util.List<RIDCHttpHeader> |
getResponseHeaders() Get all response headers |
RIDCHttpClient |
getRidcClient() Get the connection instance that this method is associated with |
int |
getStatusCode() Get the status code of the response |
java.lang.String |
getStatusLine() Get the status line of the response |
java.net.URI |
getURI() Get the uri of the request |
void |
releaseConnection() Release the connection |
void |
setCookiePolicy(java.lang.String policy) Set Cookie policy for this action |
void |
setFollowRedirects(boolean followRedirects) Set the follow directs option for the connection |
void |
setParameter(java.lang.String param, java.lang.String value) Set request parameters |
void |
setQueryString(java.util.List<NameValuePair> paramList) Set the query string for the request |
void |
setRequestHeader(java.lang.String headerName, java.lang.String headerValue) Set the request header for the request |
Method Detail |
---|
void addRequestHeader(java.lang.String name, java.lang.String value)
name
- the header namevalue
- the header valuejava.io.InputStream getResponseBodyAsStream() throws java.io.IOException
java.io.IOException
RIDCHttpHeader getResponseHeader(java.lang.String headerName)
headerName
-java.util.List<RIDCHttpHeader> getResponseHeaders()
int getStatusCode()
java.lang.String getStatusLine()
java.net.URI getURI() throws java.net.URISyntaxException, org.apache.commons.httpclient.URIException
java.net.URISyntaxException
org.apache.commons.httpclient.URIException
void releaseConnection()
void setCookiePolicy(java.lang.String policy)
policy
-void setFollowRedirects(boolean followRedirects)
followRedirects
-void setParameter(java.lang.String param, java.lang.String value)
param
- param namevalue
- param valuevoid setQueryString(java.util.List<NameValuePair> paramList)
paramList
-void setRequestHeader(java.lang.String headerName, java.lang.String headerValue)
headerName
-headerValue
-RIDCHttpClient getRidcClient()
int execute() throws java.io.IOException
java.io.IOException
|
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 |