#include <XrdHttpExtHandler.hh>
Public Member Functions | |
virtual bool | MatchesPath (const char *verb, const char *path)=0 |
Tells if the incoming path is recognized as one of the paths that have to be processed. | |
virtual int | ProcessReq (XrdHttpExtReq &)=0 |
virtual int | Init (const char *cfgfile)=0 |
Initializes the external request handler. | |
XrdHttpExtHandler () | |
Constructor. | |
virtual | ~XrdHttpExtHandler () |
Destructor. |
Base class for a plugin that can handle requests for urls that match a certain set of prefixes
XrdHttpExtHandler::XrdHttpExtHandler | ( | ) | [inline] |
Constructor.
virtual XrdHttpExtHandler::~XrdHttpExtHandler | ( | ) | [inline, virtual] |
Destructor.
virtual int XrdHttpExtHandler::Init | ( | const char * | cfgfile | ) | [pure virtual] |
Initializes the external request handler.
Implemented in Macaroons::Handler, and TPC::TPCHandler.
virtual bool XrdHttpExtHandler::MatchesPath | ( | const char * | verb, | |
const char * | path | |||
) | [pure virtual] |
Tells if the incoming path is recognized as one of the paths that have to be processed.
Implemented in Macaroons::Handler, and TPC::TPCHandler.
virtual int XrdHttpExtHandler::ProcessReq | ( | XrdHttpExtReq & | ) | [pure virtual] |
Process an HTTP request and send the response using the calling XrdHttpProtocol instance directly Returns 0 if ok, non0 if errors
Implemented in Macaroons::Handler, and TPC::TPCHandler.