Class DirListStatResponse
- java.lang.Object
-
- org.dcache.xrootd.protocol.messages.AbstractXrootdResponse<DirListRequest>
-
- org.dcache.xrootd.protocol.messages.DirListResponse
-
- org.dcache.xrootd.protocol.messages.DirListStatResponse
-
- All Implemented Interfaces:
XrootdResponse<DirListRequest>
public class DirListStatResponse extends DirListResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dcache.xrootd.protocol.messages.DirListResponse
DirListResponse.Builder
-
-
Field Summary
-
Fields inherited from class org.dcache.xrootd.protocol.messages.DirListResponse
names
-
Fields inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
request, stat
-
-
Constructor Summary
Constructors Constructor Description DirListStatResponse(DirListRequest request, int statusCode, java.lang.Iterable<java.lang.String> names, java.lang.Iterable<FileStatus> status)DirListStatResponse(DirListRequest request, java.lang.Iterable<java.lang.String> names, java.lang.Iterable<FileStatus> status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgetBytes(io.netty.buffer.ByteBuf buffer)intgetDataLength()Returns the length of the response body.java.lang.Iterable<FileStatus>getFileStatus()-
Methods inherited from class org.dcache.xrootd.protocol.messages.DirListResponse
builder, getNames
-
Methods inherited from class org.dcache.xrootd.protocol.messages.AbstractXrootdResponse
getRequest, getStatus, writeTo
-
-
-
-
Constructor Detail
-
DirListStatResponse
public DirListStatResponse(DirListRequest request, int statusCode, java.lang.Iterable<java.lang.String> names, java.lang.Iterable<FileStatus> status)
-
DirListStatResponse
public DirListStatResponse(DirListRequest request, java.lang.Iterable<java.lang.String> names, java.lang.Iterable<FileStatus> status)
-
-
Method Detail
-
getFileStatus
public java.lang.Iterable<FileStatus> getFileStatus()
-
getDataLength
public int getDataLength()
Description copied from interface:XrootdResponseReturns the length of the response body. This is the value of the dlen field in the Xrootd Server Response Format. This does not include the length of the 8 byte header.- Specified by:
getDataLengthin interfaceXrootdResponse<DirListRequest>- Overrides:
getDataLengthin classDirListResponse
-
getBytes
protected void getBytes(io.netty.buffer.ByteBuf buffer)
- Overrides:
getBytesin classDirListResponse
-
-