![]() |
XRootD
|
#include <XrdTpcTPC.hh>
Public Member Functions | |
TPCHandler (XrdSysError *log, const char *config, XrdOucEnv *myEnv) | |
virtual | ~TPCHandler () |
virtual int | Init (const char *cfgfile) |
Initializes the external request handler. More... | |
virtual bool | MatchesPath (const char *verb, const char *path) |
Tells if the incoming path is recognized as one of the paths that have to be processed. More... | |
virtual int | ProcessReq (XrdHttpExtReq &req) |
![]() | |
XrdHttpExtHandler () | |
Constructor. More... | |
virtual | ~XrdHttpExtHandler () |
Destructor. More... | |
Static Public Attributes | |
static constexpr std::string_view | OSS_TASK_OPAQUE = "oss.task=httptpc" |
Definition at line 46 of file XrdTpcTPC.hh.
TPCHandler::TPCHandler | ( | XrdSysError * | log, |
const char * | config, | ||
XrdOucEnv * | myEnv | ||
) |
Definition at line 289 of file XrdTpcTPC.cc.
References XrdOucEnv::GetPtr(), and XrdSysError::logger().
|
virtual |
Definition at line 281 of file XrdTpcTPC.cc.
|
inlinevirtual |
Initializes the external request handler.
Implements XrdHttpExtHandler.
Definition at line 54 of file XrdTpcTPC.hh.
|
virtual |
Tells if the incoming path is recognized as one of the paths that have to be processed.
Implements XrdHttpExtHandler.
Definition at line 234 of file XrdTpcTPC.cc.
|
virtual |
Process an HTTP request and send the response using the calling XrdHttpProtocol instance directly Returns 0 if ok, non0 if errors
Implements XrdHttpExtHandler.
Definition at line 253 of file XrdTpcTPC.cc.
References XrdOucTUtils::caseInsensitiveFind(), XrdSysError::Emsg(), XrdHttpExtReq::headers, PrepareURL(), XrdHttpExtReq::SendSimpleResp(), and XrdHttpExtReq::verb.
|
staticconstexpr |
Definition at line 55 of file XrdTpcTPC.hh.
Referenced by XrdTpcUtils::prepareOpenURL().