|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| 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(String name, String value)Add a request header |
int |
execute()Execute the request |
InputStream |
getResponseBodyAsStream()Get the response as a stream |
RIDCHttpHeader |
getResponseHeader(String headerName)Get response header |
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 |
String |
getStatusLine()Get the status line of the response |
URI |
getURI()Get the uri of the request |
void |
releaseConnection()Release the connection |
void |
setCookiePolicy(String policy)Set Cookie policy for this action |
void |
setFollowRedirects(boolean followRedirects)Set the follow directs option for the connection |
void |
setParameter(String param, String value)Set request parameters |
void |
setQueryString(List<NameValuePair> paramList)Set the query string for the request |
void |
setRequestHeader(String headerName, String headerValue)Set the request header for the request |
void |
setServiceLog(ServiceLog serviceLog)Set the service log for the request |
| Method Detail |
|---|
void addRequestHeader(String name,
String value)
name - the header namevalue - the header value
InputStream getResponseBodyAsStream()
throws IOException,
ProtocolException
IOExceptionProtocolException
RIDCHttpHeader getResponseHeader(String headerName)
throws ProtocolException
headerName -ProtocolException
List<RIDCHttpHeader> getResponseHeaders()
throws ProtocolException
ProtocolException
int getStatusCode()
throws ProtocolException
ProtocolException
String getStatusLine()
throws ProtocolException
ProtocolException
URI getURI()
throws URISyntaxException
URISyntaxExceptionvoid releaseConnection()
void setCookiePolicy(String policy)
policy -void setFollowRedirects(boolean followRedirects)
followRedirects -
void setParameter(String param,
String value)
param - param namevalue - param valuevoid setQueryString(List<NameValuePair> paramList)
paramList -
void setRequestHeader(String headerName,
String headerValue)
headerName -headerValue -RIDCHttpClient getRidcClient()
int execute()
throws IOException,
ProtocolException
IOExceptionProtocolExceptionvoid setServiceLog(ServiceLog serviceLog)
serviceLog -
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||