EofSensorInputStream or the ManagedHttpClientConnection itself.
The methods in this interface can safely be called multiple times. The first invocation releases the connection, subsequent calls are ignored.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| abortConnection | back to summary |
|---|---|
| public void abortConnection() throws IOException Releases the connection without the option of keep-alive.
This is a "hard" release that implies a shutdown of the connection.
Use
| |
| releaseConnection | back to summary |
|---|---|
| public void releaseConnection() throws IOException Releases the connection with the option of keep-alive. This is a
"graceful" release and may cause IO operations for consuming the
remainder of a response entity. Use
| |