|
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
public abstract class HttpOracleMethod
Field Summary | |
---|---|
protected HttpOracleClient |
m_client |
protected boolean |
m_followRedirects |
protected List<HTTPClient.NVPair> |
m_formData |
protected List<HTTPClient.NVPair> |
m_headers |
protected HTTPClient.HTTPResponse |
m_response |
protected ServiceLog |
m_serviceLog |
protected URL |
m_url |
protected static Class |
redir_mod the RedirectionModule class |
Method Summary | |
---|---|
void |
addRequestHeader(String headerName, String headerValue) Add a request header |
InputStream |
getResponseBodyAsStream() Get the response as a stream |
RIDCHttpHeader |
getResponseHeader(String headerName) Get response header |
List<RIDCHttpHeader> |
getResponseHeaders() Get all response headers |
HttpOracleClient |
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 |
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 |
---|
execute |
Field Detail |
---|
protected URL m_url
protected HttpOracleClient m_client
protected List<HTTPClient.NVPair> m_headers
protected List<HTTPClient.NVPair> m_formData
protected HTTPClient.HTTPResponse m_response
protected boolean m_followRedirects
protected static final Class redir_mod
protected ServiceLog m_serviceLog
Method Detail |
---|
public void addRequestHeader(String headerName, String headerValue)
RIDCHttpMethod
addRequestHeader
in interface RIDCHttpMethod
headerName
- the header nameheaderValue
- the header valuepublic void setRequestHeader(String headerName, String headerValue)
RIDCHttpMethod
setRequestHeader
in interface RIDCHttpMethod
public InputStream getResponseBodyAsStream() throws IOException, ProtocolException
RIDCHttpMethod
getResponseBodyAsStream
in interface RIDCHttpMethod
IOException
ProtocolException
public RIDCHttpHeader getResponseHeader(String headerName) throws ProtocolException
RIDCHttpMethod
getResponseHeader
in interface RIDCHttpMethod
ProtocolException
public List<RIDCHttpHeader> getResponseHeaders() throws ProtocolException
RIDCHttpMethod
getResponseHeaders
in interface RIDCHttpMethod
ProtocolException
public int getStatusCode() throws ProtocolException
RIDCHttpMethod
getStatusCode
in interface RIDCHttpMethod
ProtocolException
public String getStatusLine() throws ProtocolException
RIDCHttpMethod
getStatusLine
in interface RIDCHttpMethod
ProtocolException
public URI getURI() throws URISyntaxException
RIDCHttpMethod
getURI
in interface RIDCHttpMethod
URISyntaxException
public void releaseConnection()
RIDCHttpMethod
releaseConnection
in interface RIDCHttpMethod
public void setCookiePolicy(String policy)
RIDCHttpMethod
setCookiePolicy
in interface RIDCHttpMethod
public void setFollowRedirects(boolean followRedirects)
RIDCHttpMethod
setFollowRedirects
in interface RIDCHttpMethod
public void setParameter(String param, String value)
RIDCHttpMethod
setParameter
in interface RIDCHttpMethod
param
- param namevalue
- param valuepublic void setQueryString(List<NameValuePair> paramList)
RIDCHttpMethod
setQueryString
in interface RIDCHttpMethod
public HttpOracleClient getRidcClient()
RIDCHttpMethod
getRidcClient
in interface RIDCHttpMethod
public void setServiceLog(ServiceLog serviceLog)
setServiceLog
in interface RIDCHttpMethod
serviceLog
-
|
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 |