Interface ChunkedResponse

    • Method Detail

      • getRequest

        XrootdRequest getRequest()
        Returns the request this is a response to.
      • nextChunk

        XrootdResponse<?> nextChunk​(io.netty.buffer.ByteBufAllocator alloc)
                             throws java.lang.Exception
        Fetches a chunk from the stream.
        Returns:
        the fetched chunk
        Throws:
        java.lang.Exception
      • isEndOfInput

        boolean isEndOfInput()
                      throws java.lang.Exception
        Return true if and only if there is no data left in the stream and the stream has reached its end.
        Throws:
        java.lang.Exception
      • close

        void close()
            throws java.lang.Exception
        Releases the resources associated with the stream.
        Throws:
        java.lang.Exception