public class AuthenticationResponse extends AbstractXrootdResponse<AuthenticationRequest>
request, stat| Constructor and Description |
|---|
AuthenticationResponse(AuthenticationRequest request,
int status,
int length,
String protocol,
int step,
List<XrootdBucket> buckets) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getBytes(io.netty.buffer.ByteBuf buffer) |
int |
getDataLength()
Returns the length of the response body.
|
String |
getProtocol() |
int |
getStep() |
static void |
writeBytes(io.netty.buffer.ByteBuf buffer,
String protocol,
int step,
List<XrootdBucket> buckets)
Code is shared by outbound authentication request used by tpc client.
|
getRequest, getStatus, writeTopublic AuthenticationResponse(AuthenticationRequest request, int status, int length, String protocol, int step, List<XrootdBucket> buckets)
request - the request this is a response tostatus - the status (usually kXR_authmore)length - protocol - the currently used authentication protocolstep - the processing stepbuckets - list of buckets containing server-side authentication
information (challenge, host certificate, etc.)public static void writeBytes(io.netty.buffer.ByteBuf buffer,
String protocol,
int step,
List<XrootdBucket> buckets)
public String getProtocol()
public int getStep()
public int getDataLength()
XrootdResponsegetDataLength in interface XrootdResponse<AuthenticationRequest>getDataLength in class AbstractXrootdResponse<AuthenticationRequest>protected void getBytes(io.netty.buffer.ByteBuf buffer)
getBytes in class AbstractXrootdResponse<AuthenticationRequest>Copyright © 2011–2018 dCache.org. All rights reserved.