java.lang.Object | |||
↳ | java.io.InputStream | ||
↳ | java.io.FilterInputStream | ||
↳ | com.ning.http.client.BodyDeferringAsyncHandler.BodyDeferringInputStream |
A simple helper class that is used to perform automatic "join" for async download and the error checking of the Future of the request.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Closes the input stream, and "joins" (wait for complete execution
together with potential exception thrown) of the async request.
| |||||||||||
Delegates to
getResponse() . | |||||||||||
Delegates to
Future method. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Closes the input stream, and "joins" (wait for complete execution together with potential exception thrown) of the async request.
IOException |
---|
Delegates to getResponse()
. Will
blocks as long as headers arrives only. Might return
null
. See
getResponse()
method for details.
Response
InterruptedException | |
---|---|
IOException |
Delegates to Future
method. Will block
as long as complete response arrives.
Response
InterruptedException | |
ExecutionException | |
InterruptedException |