xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
virtual int ProcessReq (XrdHttpExtReq &)=0
 
virtual int Init (const char *cfgfile)=0
 Initializes the external request handler. More...
 
 XrdHttpExtHandler ()
 Constructor. More...
 
virtual ~XrdHttpExtHandler ()
 Destructor. More...
 

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 ( )
inline

Constructor.

virtual XrdHttpExtHandler::~XrdHttpExtHandler ( )
inlinevirtual

Destructor.

Member Function Documentation

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.


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