Class FrameFilePartialFetch


  • public class FrameFilePartialFetch
    extends Object
    Response object for 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.
    • Method Detail

      • isLastFetch

        public boolean isLastFetch()
      • isExceptionCaught

        public boolean isExceptionCaught()
        Whether an exception was encountered during response processing.
      • getBytesRead

        public long getBytesRead()
        Number of bytes read so far by this request.
      • backpressureFuture

        public 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. Must only be called once, because the future is cleared once it is returned.