Skip navigation links
oracle.stellent.ridc.protocol.http
Class IdcHttpClientConnection
java.lang.Object
oracle.stellent.ridc.protocol.Connection
oracle.stellent.ridc.protocol.http.IdcHttpClientConnection
-
public class IdcHttpClientConnection
- extends Connection
Method Summary |
org.apache.commons.httpclient.HttpClient |
getHttpClient()
|
java.io.InputStream |
getInputStream()
Get a input stream for this connection |
org.apache.commons.httpclient.HttpMethod |
getMethod()
|
java.io.OutputStream |
getOutputStream()
Get a output stream for this connection |
boolean |
isConnected()
|
void |
reset(boolean releaseConnection)
Reset the HttpClient connection |
void |
setMethod(org.apache.commons.httpclient.HttpMethod method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdcHttpClientConnection
public IdcHttpClientConnection(org.apache.commons.httpclient.HttpClient httpClient)
getHttpClient
public org.apache.commons.httpclient.HttpClient getHttpClient()
getMethod
public org.apache.commons.httpclient.HttpMethod getMethod()
setMethod
public void setMethod(org.apache.commons.httpclient.HttpMethod method)
reset
public void reset(boolean releaseConnection)
- Reset the HttpClient connection
-
- Parameters:
releaseConnection
- true to release the method connection
isConnected
public boolean isConnected()
-
- Specified by:
isConnected
in class Connection
-
- Returns:
- true if this is connection is active
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Description copied from class:
Connection
- Get a input stream for this connection
-
- Specified by:
getInputStream
in class Connection
-
- Returns:
- an input stream
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Description copied from class:
Connection
- Get a output stream for this connection
-
- Specified by:
getOutputStream
in class Connection
-
- Returns:
- an output stream
- Throws:
java.io.IOException
Skip navigation links
Copyright © 2008, 2010, Oracle and/or its affiliates. All rights reserved.