public class FrameFilePartialFetch extends Object
FrameFileHttpResponseHandler.
The handler mutates this object on each chunk of a chunked response. When the response is done, this object
is returned to the caller.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<?> |
backpressureFuture()
Future that resolves when it is a good time to request the next chunk of the frame file.
|
Throwable |
getExceptionCaught()
The exception that was encountered, if
isExceptionCaught() is true. |
boolean |
isExceptionCaught()
Whether an exception was encountered during response processing.
|
boolean |
isLastFetch() |
public boolean isLastFetch()
public Throwable getExceptionCaught()
isExceptionCaught() is true.IllegalStateException - if no exception was caughtpublic boolean isExceptionCaught()
public com.google.common.util.concurrent.ListenableFuture<?> backpressureFuture()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.