public interface ChunkedResponse
ChunkedResponseWriteHandler.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the resources associated with the stream.
|
XrootdRequest |
getRequest()
Returns the request this is a response to.
|
boolean |
isEndOfInput()
Return
true if and only if there is no data left in the stream
and the stream has reached its end. |
XrootdResponse<?> |
nextChunk(io.netty.buffer.ByteBufAllocator alloc)
Fetches a chunk from the stream.
|
XrootdRequest getRequest()
XrootdResponse<?> nextChunk(io.netty.buffer.ByteBufAllocator alloc) throws Exception
Exceptionboolean isEndOfInput()
throws Exception
true if and only if there is no data left in the stream
and the stream has reached its end.ExceptionCopyright © 2011–2018 dCache.org. All rights reserved.