![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cHttpController.h>
Public Member Functions | |
| cStringA | get_Name () const |
| bool | isMatchRoute (const char *pszObject) const |
| virtual HTTPRET_TYPE | OnVerb (cHttpProtocolStreamBase *pClient, const cHttpHeaderClient &request, cStringA sURLReq) |
Public Member Functions inherited from Gray::cRefBase | |
| cRefBase (int iRefCount=0) noexcept | |
| virtual | ~cRefBase () |
| int | get_RefCount () const noexcept |
| HASHCODE_t | get_HashCode () const noexcept |
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
| virtual void | onFinalRelease () |
| bool | isValidObj () const noexcept |
| STDMETHOD_ (ULONG, AddRef)(void) override | |
| STDMETHOD_ (ULONG, Release)(void) override | |
| STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
| void | IncRefCount () |
| void | DecRefCount () |
| bool | isStaticConstruct () const noexcept |
| void | StaticConstruct () |
| void | StaticDestruct () |
| bool | isDestructing () noexcept |
| void | SetDestructing () |
Public Attributes | |
| cStringA | m_sRoutePrefix |
| The URL prefix/path we need to serve this type. can be "" = any/root. More... | |
Protected Member Functions | |
| cHttpController (cStringA sRoutePrefix) | |
| virtual | ~cHttpController () |
Base class for handling a particular HTTP page URL object subrange. This is equivalent to a controller in M$ ASP MVC. A server plug-in for generating custom/dynamic pages. Base for cHttpControllerFileDir
|
inlineprotected |
|
inlineprotectedvirtual |
|
inline |
For quick sorted lookups.
| bool GrayLib::cHttpController::isMatchRoute | ( | const char * | pszObject | ) | const |
Routing info match? Prefix match ? Prefer longer (Exact matches) over shorter (partial) matches.
|
virtual |
Reimplemented in GrayLib::cWebAPIController, and GrayLib::cHttpScriptedController.
| cStringA GrayLib::cHttpController::m_sRoutePrefix |
The URL prefix/path we need to serve this type. can be "" = any/root.