org.apache.http.nio.NHttpClientIOTarget |
Known Indirect Subclasses
|
Summary
[Expand]
Inherited Methods |
From interface
org.apache.http.HttpConnection
abstract
void
|
close()
|
abstract
HttpConnectionMetrics
|
getMetrics()
|
abstract
int
|
getSocketTimeout()
|
abstract
boolean
|
isOpen()
|
abstract
boolean
|
isStale()
|
abstract
void
|
setSocketTimeout(int arg0)
|
abstract
void
|
shutdown()
|
|
From interface
org.apache.http.nio.IOControl
abstract
void
|
requestInput()
Requests event notifications to be triggered when the underlying
channel is ready for input operations.
|
abstract
void
|
requestOutput()
Requests event notifications to be triggered when the underlying
channel is ready for output operations.
|
abstract
void
|
shutdown()
Shuts down the underlying channel.
|
abstract
void
|
suspendInput()
Suspends event notifications about the underlying channel being
ready for input operations.
|
abstract
void
|
suspendOutput()
Suspends event notifications about the underlying channel being
ready for output operations.
|
|
From interface
org.apache.http.nio.NHttpClientConnection
abstract
boolean
|
isRequestSubmitted()
Returns true if an HTTP request has been submitted to the
target server.
|
abstract
void
|
resetInput()
Resets output state.
|
abstract
void
|
resetOutput()
Resets input state.
|
abstract
void
|
submitRequest(HttpRequest request)
Submits HttpRequest to be sent to the target server.
|
|
From interface
org.apache.http.nio.NHttpConnection
abstract
HttpContext
|
getContext()
Returns an HTTP execution context associated with this connection.
|
abstract
HttpRequest
|
getHttpRequest()
Returns the current HTTP request if one is being received / transmitted.
|
abstract
HttpResponse
|
getHttpResponse()
Returns the current HTTP response if one is being received / transmitted.
|
abstract
int
|
getStatus()
Returns status of the connection:
ACTIVE : connection is active.
|
|
Public Methods
public
abstract
void
consumeInput
(NHttpClientHandler handler)
Triggered when the connection is ready to consume input.
Parameters
handler
| the client protocol handler.
|
public
abstract
void
produceOutput
(NHttpClientHandler handler)
Triggered when the connection is ready to produce output.
Parameters
handler
| the client protocol handler.
|