Package org.dcache.xrootd.stream
Class ChunkedFileChannelReadResponse
- java.lang.Object
-
- org.dcache.xrootd.stream.AbstractChunkedReadResponse
-
- org.dcache.xrootd.stream.ChunkedFileChannelReadResponse
-
- All Implemented Interfaces:
ChunkedResponse
public class ChunkedFileChannelReadResponse extends AbstractChunkedReadResponse
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.stream.AbstractChunkedReadResponse
isEndOfInput, length, maxFrameSize, position, request
-
-
Constructor Summary
Constructors Constructor Description ChunkedFileChannelReadResponse(ReadRequest request, int maxFrameSize, java.nio.channels.FileChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.netty.buffer.ByteBufread(io.netty.buffer.ByteBufAllocator alloc, long position, int length)-
Methods inherited from class org.dcache.xrootd.stream.AbstractChunkedReadResponse
close, getRequest, isEndOfInput, nextChunk
-
-
-
-
Constructor Detail
-
ChunkedFileChannelReadResponse
public ChunkedFileChannelReadResponse(ReadRequest request, int maxFrameSize, java.nio.channels.FileChannel channel)
-
-
Method Detail
-
read
protected io.netty.buffer.ByteBuf read(io.netty.buffer.ByteBufAllocator alloc, long position, int length) throws java.io.IOException- Specified by:
readin classAbstractChunkedReadResponse- Throws:
java.io.IOException
-
-