xrootd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XrdHttpExtHandler Class Referenceabstract

#include <XrdHttpExtHandler.hh>

Inheritance diagram for XrdHttpExtHandler:
Inheritance graph
[legend]

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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ XrdHttpExtHandler()

XrdHttpExtHandler::XrdHttpExtHandler ( )
inline

Constructor.

◆ ~XrdHttpExtHandler()

virtual XrdHttpExtHandler::~XrdHttpExtHandler ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Init()

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

Initializes the external request handler.

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

◆ 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 TPC::TPCHandler, and Macaroons::Handler.

◆ 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 TPC::TPCHandler, and Macaroons::Handler.


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