@Concealed 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, reset
public 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 Connection
public InputStream getInputStream() throws IOException
Connection
getInputStream
in class Connection
IOException
public OutputStream getOutputStream() throws IOException
Connection
getOutputStream
in class Connection
IOException