HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_BaseUrlHandler Class Referenceabstract

#include <NET_UrlHandler.h>

+ Inheritance diagram for NET_BaseUrlHandler:

Public Member Functions

 NET_BaseUrlHandler (const UT_StringRef &path, bool allows_partial=false)
 
 NET_BaseUrlHandler (const UT_StringRef &path, const UT_StringArray &methods, bool allows_partial=false)
 
virtual ~NET_BaseUrlHandler ()=default
 
virtual void handle (NET_HTTPRequest &req, NET_WebResponse &resp)=0
 
const UT_StringHolderpath () const
 
void addMethod (const UT_StringRef &method)
 
void removeMethod (const UT_StringRef &method)
 
bool canHandleMethod (const UT_StringRef &method) const
 

Public Attributes

bool myAllowsPartial
 

Detailed Description

Definition at line 28 of file NET_UrlHandler.h.

Constructor & Destructor Documentation

NET_BaseUrlHandler::NET_BaseUrlHandler ( const UT_StringRef path,
bool  allows_partial = false 
)
NET_BaseUrlHandler::NET_BaseUrlHandler ( const UT_StringRef path,
const UT_StringArray methods,
bool  allows_partial = false 
)
virtual NET_BaseUrlHandler::~NET_BaseUrlHandler ( )
virtualdefault

Member Function Documentation

void NET_BaseUrlHandler::addMethod ( const UT_StringRef method)
bool NET_BaseUrlHandler::canHandleMethod ( const UT_StringRef method) const
virtual void NET_BaseUrlHandler::handle ( NET_HTTPRequest req,
NET_WebResponse resp 
)
pure virtual
const UT_StringHolder& NET_BaseUrlHandler::path ( ) const
inline

Definition at line 40 of file NET_UrlHandler.h.

void NET_BaseUrlHandler::removeMethod ( const UT_StringRef method)

Member Data Documentation

bool NET_BaseUrlHandler::myAllowsPartial

Definition at line 49 of file NET_UrlHandler.h.


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