Deprecated
(4.3) do not use.
EofSensorWatcher. The underlying connection
is released on close or EOF.
| Modifier and Type | Field and Description |
|---|---|
| protected final boolean | attemptReuse
Whether to keep the connection alive. |
| protected final ManagedClientConnection | managedConn
The connection to auto-release. |
| Access | Constructor and Description |
|---|---|
| public | BasicEofSensorWatcher(final ManagedClientConnection
the connection to auto-release conn, final boolean whether the connection should be re-used reuse)
Deprecated
as a consequence of
Creates a new watcher for auto-releasing a connection.
ManagedClientConnection being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | eofDetected(final InputStream
the underlying stream which has reached EOF wrapped)Implements org. |
| public boolean | streamAbort(final InputStream
the underlying stream which has not reached EOF wrapped)Implements org. stream is aborted.
|
| public boolean | streamClosed(final InputStream
the underlying stream which has not reached EOF wrapped)Implements org. stream is closed.
|
| attemptReuse | back to summary |
|---|---|
| protected final boolean attemptReuse Whether to keep the connection alive. | |
| managedConn | back to summary |
|---|---|
| protected final ManagedClientConnection managedConn
Deprecated as a consequence of The connection to auto-release. | |
| BasicEofSensorWatcher | back to summary |
|---|---|
| public BasicEofSensorWatcher(final ManagedClientConnection conn, final boolean reuse)
Deprecated as a consequence of Creates a new watcher for auto-releasing a connection.
| |
| eofDetected | back to summary |
|---|---|
| public boolean eofDetected(final InputStream wrapped) throws IOException Implements org. Doc from org. Indicates that EOF is detected.
| |
| streamAbort | back to summary |
|---|---|
| public boolean streamAbort(final InputStream wrapped) throws IOException Implements org. Doc from org. Indicates that the This method will also be invoked when an input operation causes an IOException to be thrown to make sure the input stream gets shut down.
| |
| streamClosed | back to summary |
|---|---|
| public boolean streamClosed(final InputStream wrapped) throws IOException Implements org. Doc from org. Indicates that the
| |