java.lang.Object | |
↳ | org.apache.http.impl.nio.reactor.SessionRequestImpl |
Default implementation of SessionRequest
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cancels the request.
| |||||||||||
Returns attachment object will be added to the session's context upon
initialization.
| |||||||||||
Returns connect timeout value in milliseconds.
| |||||||||||
Returns
IOException instance if the request could not be
successfully executed due to an I/O error or null if no
error occurred to this point. | |||||||||||
Returns local socket address.
| |||||||||||
Returns socket address of the remote host.
| |||||||||||
Returns
IOSession instance created as a result of this request
or null if the request is still pending. | |||||||||||
Determines whether the request has been completed (either successfully
or unsuccessfully).
| |||||||||||
Sets connect timeout value in milliseconds.
| |||||||||||
Waits for completion of this session request.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.nio.reactor.SessionRequest
|
Cancels the request. Invocation of this method will set the status of
the request to completed and will unblock threads blocked in
the {waitFor()
} method.
Returns attachment object will be added to the session's context upon initialization. This object can be used to pass an initial processing state to the protocol handler.
Returns connect timeout value in milliseconds.
Returns IOException
instance if the request could not be
successfully executed due to an I/O error or null
if no
error occurred to this point.
null
if no error occurred to
this point.
Returns socket address of the remote host.
Returns IOSession
instance created as a result of this request
or null
if the request is still pending.
null
if the request is still pending.
Determines whether the request has been completed (either successfully or unsuccessfully).
true if the request has been completed,
false if still pending.
Sets connect timeout value in milliseconds.
timeout | connect timeout value in milliseconds. |
---|