Class HttpFilter
Synopsis
#include <lib/inc/drogon/HttpFilter.h>
template <typename T, bool AutoCreation = true>
class HttpFilter : public DrObject<T>, public HttpFilterBase
Description
The reflection base class template for filters.
- Template Parameters
T
- The type of the implementation classAutoCreation
- The flag for automatically creating, user can set this flag to false for classes that have nondefault constructors.
Mentioned in
- Controller Introduction / Controller HttpSimpleController
- Filter / Custom Filter
Inheritance
Ancestors: DrObject, HttpFilterBase
Methods
~HttpFilter |
Source
Lines 58-66 in lib/inc/drogon/HttpFilter.h.
template <typename T, bool AutoCreation = true>
class HttpFilter : public DrObject<T>, public HttpFilterBase
{
public:
static constexpr bool isAutoCreation{AutoCreation};
virtual ~HttpFilter()
{
}
};