public class InboundRedirectResponse extends AbstractXrootdInboundResponse
Response from third-party source server.
According to protocol, has the following packet structure:
| kXR_char | streamid[2] |
| kXR_unt16 | kXR_redirect |
| kXR_int32 | dlen |
| kXR_int32 | port |
| kXR_char | host[?[opaque][?token]][dlen-4] | url |
Can also be constructed from a kXR_attn kXR_asyncrd or kXR_asyncdi response.
stat, streamId| Constructor and Description |
|---|
InboundRedirectResponse(io.netty.buffer.ByteBuf buffer,
int requestId) |
InboundRedirectResponse(InboundAttnResponse attnResponse) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getMsec() |
String |
getOpaque() |
int |
getPort() |
int |
getRequestId()
The xrootd request type this is a response to
|
String |
getToken() |
URL |
getUrl() |
int |
getWsec() |
boolean |
isReconnect() |
String |
toString() |
getStatus, getStreamIdpublic InboundRedirectResponse(InboundAttnResponse attnResponse) throws ParseException
ParseExceptionpublic InboundRedirectResponse(io.netty.buffer.ByteBuf buffer,
int requestId)
throws ParseException
ParseExceptionpublic int getRequestId()
XrootdInboundResponsepublic String getHost()
public int getMsec()
public String getOpaque()
public int getPort()
public String getToken()
public URL getUrl()
public int getWsec()
public boolean isReconnect()
Copyright © 2011–2018 dCache.org. All rights reserved.