public class StringResponse<T extends XrootdRequest> extends AbstractXrootdResponse<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
response |
request, stat| Constructor and Description |
|---|
StringResponse(T request,
int stat,
String response) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getBytes(io.netty.buffer.ByteBuf buffer) |
int |
getDataLength()
Returns the length of the response body.
|
String |
getResponse() |
String |
toString() |
getRequest, getStatus, writeToprotected final String response
public String getResponse()
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.