public class ErrorResponse<T extends XrootdRequest> extends AbstractXrootdResponse<T>
request, stat| Constructor and Description |
|---|
ErrorResponse(T request,
int errnum,
String errmsg) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getBytes(io.netty.buffer.ByteBuf buffer) |
int |
getDataLength()
Returns the length of the response body.
|
String |
getErrorMessage() |
int |
getErrorNumber() |
String |
toString() |
getRequest, getStatus, writeTopublic int getErrorNumber()
public String getErrorMessage()
public int getDataLength()
XrootdResponsegetDataLength in interface XrootdResponse<T extends XrootdRequest>getDataLength in class AbstractXrootdResponse<T extends XrootdRequest>protected void getBytes(io.netty.buffer.ByteBuf buffer)
getBytes in class AbstractXrootdResponse<T extends XrootdRequest>Copyright © 2011–2018 dCache.org. All rights reserved.