#include <XrdClMessageUtils.hh>
|
| static XRootDStatus | WaitForStatus (SyncResponseHandler *handler) |
| | Wait and return the status of the query. More...
|
| |
| template<class Type > |
| static XrdCl::XRootDStatus | WaitForResponse (SyncResponseHandler *handler, Type *&response) |
| | Wait for the response. More...
|
| |
| template<class Request > |
| static void | CreateRequest (Message *&msg, Request *&req, uint32_t payloadSize=0) |
| | Create a message. More...
|
| |
| static Status | SendMessage (const URL &url, Message *msg, ResponseHandler *handler, const MessageSendParams &sendParams, LocalFileHandler *lFileHandler) |
| | Send message. More...
|
| |
| static Status | RedirectMessage (const URL &url, Message *msg, ResponseHandler *handler, MessageSendParams &sendParams, LocalFileHandler *lFileHandler) |
| | Redirect message. More...
|
| |
| static void | ProcessSendParams (MessageSendParams &sendParams) |
| | Process sending params. More...
|
| |
| static void | RewriteCGIAndPath (Message *msg, const URL::ParamsMap &newCgi, bool replace, const std::string &newPath) |
| |
| static void | MergeCGI (URL::ParamsMap &cgi1, const URL::ParamsMap &cgi2, bool replace) |
| |
template<class Request >
| static void XrdCl::MessageUtils::CreateRequest |
( |
Message *& |
msg, |
|
|
Request *& |
req, |
|
|
uint32_t |
payloadSize = 0 |
|
) |
| |
|
inlinestatic |
Merge cgi2 into cgi1
- Parameters
-
| cgi1 | cgi to be merged into |
| cgi2 | cgi to be merged in |
| replace | indicates whether, in case of a conflict, the new CGI parameter should replace an existing one or be appended to it using a comma |
| static void XrdCl::MessageUtils::RewriteCGIAndPath |
( |
Message * |
msg, |
|
|
const URL::ParamsMap & |
newCgi, |
|
|
bool |
replace, |
|
|
const std::string & |
newPath |
|
) |
| |
|
static |
Rewrite CGI and path if necessary
- Parameters
-
| msg | message concerned |
| newCgi | the new cgi |
| replace | indicates whether, in case of a conflict, the new CGI parameter should replace an existing one or be appended to it using a comma |
| newPath | will be used as the new destination path if it is not empty |
The documentation for this class was generated from the following file: