|
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<M>
M -public abstract class HttpApache3Method<M extends org.apache.commons.httpclient.HttpMethodBase>
Method implementation for Apache 3.x
| Field Summary | |
|---|---|
protected M |
apacheMethod |
protected HttpApache3Client |
ridcClient |
| Constructor Summary | |
|---|---|
HttpApache3Method() |
|
| Method Summary | |
|---|---|
void |
addRequestHeader(java.lang.String name, java.lang.String value)Add a request header |
int |
execute()Execute this method |
M |
getDelegateObject()Get the delegated object |
java.io.InputStream |
getResponseBodyAsStream()Get the response body as a stream |
RIDCHttpHeader |
getResponseHeader(java.lang.String headerName)Get the response header |
java.util.List<RIDCHttpHeader> |
getResponseHeaders()Get the response headers |
RIDCHttpClient |
getRidcClient()Get the associated client with this method |
int |
getStatusCode()Get the status code |
java.lang.String |
getStatusLine()Get the status line of the response |
java.net.URI |
getURI()Get the URI of this method |
void |
releaseConnection()Release the connection |
void |
setCookiePolicy(java.lang.String cookiePolicy)Set the cookie policy |
void |
setFollowRedirects(boolean followRedirects)set if the client should follow redirects |
void |
setParameter(java.lang.String param, java.lang.String value)Set the request parameter |
void |
setQueryString(java.util.List<NameValuePair> params)Set the query string for the URL of this method |
void |
setRequestHeader(java.lang.String headerName, java.lang.String headerValue)Set the request header |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected M extends org.apache.commons.httpclient.HttpMethodBase apacheMethod
protected HttpApache3Client ridcClient
| Constructor Detail |
|---|
public HttpApache3Method()
| Method Detail |
|---|
public void releaseConnection()
releaseConnection in interface RIDCHttpMethodpublic M getDelegateObject()
public int getStatusCode()
getStatusCode in interface RIDCHttpMethod
public java.net.URI getURI()
throws java.net.URISyntaxException,
org.apache.commons.httpclient.URIException
getURI in interface RIDCHttpMethodjava.net.URISyntaxExceptionorg.apache.commons.httpclient.URIException
public java.io.InputStream getResponseBodyAsStream()
throws java.io.IOException
getResponseBodyAsStream in interface RIDCHttpMethodjava.io.IOException
public void setRequestHeader(java.lang.String headerName,
java.lang.String headerValue)
setRequestHeader in interface RIDCHttpMethodheaderName - header nameheaderValue - header valuepublic RIDCHttpHeader getResponseHeader(java.lang.String headerName)
getResponseHeader in interface RIDCHttpMethodheaderName - header namepublic void setQueryString(java.util.List<NameValuePair> params)
setQueryString in interface RIDCHttpMethodparams -public java.util.List<RIDCHttpHeader> getResponseHeaders()
getResponseHeaders in interface RIDCHttpMethodpublic java.lang.String getStatusLine()
getStatusLine in interface RIDCHttpMethodpublic void setFollowRedirects(boolean followRedirects)
setFollowRedirects in interface RIDCHttpMethodfollowRedirects -
public void addRequestHeader(java.lang.String name,
java.lang.String value)
addRequestHeader in interface RIDCHttpMethodname - the header namevalue - the header valuepublic void setCookiePolicy(java.lang.String cookiePolicy)
setCookiePolicy in interface RIDCHttpMethodcookiePolicy - policy name
public void setParameter(java.lang.String param,
java.lang.String value)
setParameter in interface RIDCHttpMethodparam - param namevalue - param valuepublic RIDCHttpClient getRidcClient()
getRidcClient in interface RIDCHttpMethod
public int execute()
throws java.io.IOException
execute in interface RIDCHttpMethodjava.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 | |||||||||