org.apache.http.nio.reactor.SessionRequestCallback |
SessionRequestCallback interface can be used to get notifications of completion of session requests asynchronously without having to wait for it, blocking the current thread of execution.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Triggered on cancellation of a
SessionRequest . | |||||||||||
Triggered on successful completion of a
SessionRequest . | |||||||||||
Triggered on unsuccessful completion a
SessionRequest . | |||||||||||
Triggered if a
SessionRequest times out. |
Triggered on cancellation of a SessionRequest
.
request | session request. |
---|
Triggered on successful completion of a SessionRequest
.
The getSession()
method can now be used to obtain
the new I/O session.
request | session request. |
---|
Triggered on unsuccessful completion a SessionRequest
.
The getException()
method can now be used to
obtain the cause of the error.
request | session request. |
---|
Triggered if a SessionRequest
times out.
request | session request. |
---|