XRootD
XrdHttpExtHandler Class Referenceabstract

#include <XrdHttpExtHandler.hh>

+ Inheritance diagram for XrdHttpExtHandler:
+ Collaboration diagram for XrdHttpExtHandler:

Public Member Functions

 XrdHttpExtHandler ()
 Constructor. More...
 
virtual ~XrdHttpExtHandler ()
 Destructor. More...
 
virtual int Init (const char *cfgfile)=0
 Initializes the external request handler. More...
 
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. More...
 
virtual int ProcessReq (XrdHttpExtReq &)=0
 

Detailed Description

Base class for a plugin that can handle requests for urls that match a certain set of prefixes

Definition at line 90 of file XrdHttpExtHandler.hh.

Constructor & Destructor Documentation

◆ XrdHttpExtHandler()

XrdHttpExtHandler::XrdHttpExtHandler ( )
inline

Constructor.

Definition at line 110 of file XrdHttpExtHandler.hh.

110 {}

◆ ~XrdHttpExtHandler()

virtual XrdHttpExtHandler::~XrdHttpExtHandler ( )
inlinevirtual

Destructor.

Definition at line 116 of file XrdHttpExtHandler.hh.

116 {}

Member Function Documentation

◆ Init()

virtual int XrdHttpExtHandler::Init ( const char *  cfgfile)
pure virtual

Initializes the external request handler.

Implemented in Macaroons::Handler, and TPC::TPCHandler.

◆ MatchesPath()

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.

◆ ProcessReq()

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.

Referenced by XrdHttpReq::ProcessHTTPReq().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: