public interface XrootdResponse<T extends XrootdRequest>
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the length of the response body.
|
T |
getRequest()
Returns the request this is a response to.
|
int |
getStatus()
The xrootd response status code.
|
void |
writeTo(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
Writes the encoded message to the given channel context.
|
T getRequest()
int getStatus()
void writeTo(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
1 and
deallocates this object if the reference count reaches 0.int getDataLength()
Copyright © 2011–2018 dCache.org. All rights reserved.