public class ReadHandler extends DefaultAsyncHandler<FileBackedOutputStream>
body, status
Constructor and Description |
---|
ReadHandler() |
Modifier and Type | Method and Description |
---|---|
protected FileBackedOutputStream |
getResult(int status,
com.ning.http.client.HttpResponseHeaders headers,
FileBackedOutputStream body) |
com.ning.http.client.AsyncHandler.STATE |
onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus) |
onBodyPartReceived, onCompleted, onHeadersReceived, onThrowable, prepare
protected FileBackedOutputStream getResult(int status, com.ning.http.client.HttpResponseHeaders headers, FileBackedOutputStream body)
getResult
in class DefaultAsyncHandler<FileBackedOutputStream>
public com.ning.http.client.AsyncHandler.STATE onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus) throws java.lang.Exception
onStatusReceived
in interface com.ning.http.client.AsyncHandler<FileBackedOutputStream>
onStatusReceived
in class DefaultAsyncHandler<FileBackedOutputStream>
java.lang.Exception
Copyright © 2021. All Rights Reserved.