Daraja HTTP Framework 3.0
HTTP server framework for Object Pascal
|
Defines a generic Web Filter. More...
Public Member Functions | |
TdjGenericWebFilter () | |
Constructor. | |
~TdjGenericWebFilter () | |
Destructor. | |
Init (const IWebFilterConfig Config) | |
Called by the container on startup. | |
Init () | |
A convenience method which can be overridden so that there is no need to call inherited Init(config). | |
DoFilter (TdjServerContext Context, TdjRequest Request, TdjResponse Response, const IWebFilterChain Chain) | |
The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. | |
DestroyFilter () | |
Public Attributes | |
IWebFilterConfig | Config |
Defines a generic Web Filter.
TdjGenericWebFilter::DoFilter | ( | TdjServerContext | Context, |
TdjRequest | Request, | ||
TdjResponse | Response, | ||
const IWebFilterChain | Chain ) |
The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
The FilterChain passed in to this method allows the Filter to pass on the request and response to the next entity in the chain.
TdjGenericWebFilter::Init | ( | const IWebFilterConfig | Config | ) |
IWebFilterConfig TdjGenericWebFilter::Config |
Referenced by Init().