|
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 | |||||||||
java.lang.Object
oracle.stellent.ridc.protocol.http.httpurlconnection.impl.HttpURLConnectionMethod
public abstract class HttpURLConnectionMethod
| Field Summary | |
|---|---|
protected ServiceLog |
serviceLog |
| Constructor Summary | |
|---|---|
protected |
HttpURLConnectionMethod(String uri, String method, HttpURLConnectionClient client) |
| 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 |
HttpURLConnectionClient |
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 |
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 |
|---|
setFollowRedirects |
| Field Detail |
|---|
protected ServiceLog serviceLog
| Constructor Detail |
|---|
protected HttpURLConnectionMethod(String uri,
String method,
HttpURLConnectionClient client)
| Method Detail |
|---|
public void addRequestHeader(String name,
String value)
RIDCHttpMethodaddRequestHeader in interface RIDCHttpMethodname - the header namevalue - the header value
public InputStream getResponseBodyAsStream()
throws IOException,
ProtocolException
RIDCHttpMethodgetResponseBodyAsStream in interface RIDCHttpMethodIOExceptionProtocolException
public RIDCHttpHeader getResponseHeader(String headerName)
throws ProtocolException
RIDCHttpMethodgetResponseHeader in interface RIDCHttpMethodProtocolException
public List<RIDCHttpHeader> getResponseHeaders()
throws ProtocolException
RIDCHttpMethodgetResponseHeaders in interface RIDCHttpMethodProtocolException
public int getStatusCode()
throws ProtocolException
RIDCHttpMethodgetStatusCode in interface RIDCHttpMethodProtocolException
public String getStatusLine()
throws ProtocolException
RIDCHttpMethodgetStatusLine in interface RIDCHttpMethodProtocolException
public URI getURI()
throws URISyntaxException
RIDCHttpMethodgetURI in interface RIDCHttpMethodURISyntaxExceptionpublic void releaseConnection()
RIDCHttpMethodreleaseConnection in interface RIDCHttpMethodpublic void setCookiePolicy(String policy)
RIDCHttpMethodsetCookiePolicy in interface RIDCHttpMethod
public void setParameter(String param,
String value)
RIDCHttpMethodsetParameter in interface RIDCHttpMethodparam - param namevalue - param valuepublic void setQueryString(List<NameValuePair> paramList)
RIDCHttpMethodsetQueryString in interface RIDCHttpMethod
public void setRequestHeader(String headerName,
String headerValue)
RIDCHttpMethodsetRequestHeader in interface RIDCHttpMethodpublic HttpURLConnectionClient getRidcClient()
RIDCHttpMethodgetRidcClient in interface RIDCHttpMethod
public int execute()
throws IOException,
ProtocolException
RIDCHttpMethodexecute in interface RIDCHttpMethodIOExceptionProtocolExceptionpublic void setServiceLog(ServiceLog serviceLog)
RIDCHttpMethodsetServiceLog in interface RIDCHttpMethod
|
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 | |||||||||