#include <XrdHttpTpcTPC.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. | |
| 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. | |
| virtual int | ProcessReq (XrdHttpExtReq &req) |
| Public Member Functions inherited from XrdHttpExtHandler | |
| XrdHttpExtHandler () | |
| Constructor. | |
| virtual | ~XrdHttpExtHandler () |
| Destructor. | |
Static Public Attributes | |
| static constexpr std::string_view | OSS_TASK_OPAQUE = "oss.task=httptpc" |
Definition at line 48 of file XrdHttpTpcTPC.hh.
| TPCHandler::TPCHandler | ( | XrdSysError * | log, |
| const char * | config, | ||
| XrdOucEnv * | myEnv ) |
Definition at line 348 of file XrdHttpTpcTPC.cc.
References XrdOucEnv::GetPtr(), if(), and XrdSysError::logger().
|
virtual |
Definition at line 340 of file XrdHttpTpcTPC.cc.
|
inlinevirtual |
Initializes the external request handler.
Implements XrdHttpExtHandler.
Definition at line 56 of file XrdHttpTpcTPC.hh.
|
virtual |
Tells if the incoming path is recognized as one of the paths that have to be processed.
Implements XrdHttpExtHandler.
Definition at line 293 of file XrdHttpTpcTPC.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 312 of file XrdHttpTpcTPC.cc.
References XrdOucTUtils::caseInsensitiveFind(), XrdHttpExtReq::headers, PrepareURL(), XrdHttpExtReq::SendSimpleResp(), and XrdHttpExtReq::verb.
|
staticconstexpr |
Definition at line 57 of file XrdHttpTpcTPC.hh.
Referenced by XrdHttpTpcUtils::prepareOpenURL().