public interface BHttpConnection extends HttpConnection
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Writes out all pending buffered data over the open connection.
|
boolean |
isDataAvailable(Timeout timeout)
Checks if input data is available from the connection.
|
boolean |
isStale()
Checks whether this connection has gone down.
|
close, getEndpointDetails, getLocalAddress, getProtocolVersion, getRemoteAddress, getSSLSession, isOpengetSocketTimeout, setSocketTimeoutcloseboolean isDataAvailable(Timeout timeout) throws IOException
timeout - the maximum time to wait for datatimeout.IOException - if an error happens on the connectionboolean isStale()
throws IOException
true if attempts to use this connection are likely
to fail and this connection should be closed,
or false if they are likely to succeedIOException - in case of an I/O error.void flush()
throws IOException
IOException - in case of an I/O errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.