public class IdcHttpClientConnection extends Connection
| Constructor and Description |
|---|
IdcHttpClientConnection(RIDCHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
RIDCHttpClient |
getHttpClient() |
InputStream |
getInputStream()
Get a input stream for this connection
|
RIDCHttpMethod |
getMethod() |
OutputStream |
getOutputStream()
Get a output stream for this connection
|
boolean |
isConnected() |
void |
reset(boolean releaseConnection)
Reset the RIDCHttpClient connection
|
void |
setMethod(RIDCHttpMethod method) |
close, connect, resetpublic IdcHttpClientConnection(RIDCHttpClient httpClient)
public RIDCHttpClient getHttpClient()
public RIDCHttpMethod getMethod()
public void setMethod(RIDCHttpMethod method)
public void reset(boolean releaseConnection)
releaseConnection - true to release the method connectionpublic boolean isConnected()
isConnected in class Connectionpublic InputStream getInputStream() throws IOException
ConnectiongetInputStream in class ConnectionIOExceptionpublic OutputStream getOutputStream() throws IOException
ConnectiongetOutputStream in class ConnectionIOException