|
Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
|
Interface for web filters that can intercept and modify HTTP requests and responses. More...
Public Member Functions | |
| DestroyFilter () | |
| Called when filter is being removed from service. | |
| 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. | |
| Init (const IWebFilterConfig Config) | |
| Called by the container on startup. | |
Interface for web filters that can intercept and modify HTTP requests and responses.
| IWebFilter::DestroyFilter | ( | ) |
Called when filter is being removed from service.
Implemented in TdjGenericWebFilter.
| IWebFilter::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.
| Context | The server context for this request |
| Request | The HTTP request being processed |
| Response | The HTTP response being generated |
| Chain | The filter chain to pass the request/response to |
Implemented in TdjGenericWebFilter, and TdjWebFilterHolder.
| IWebFilter::Init | ( | const IWebFilterConfig | Config | ) |
Called by the container on startup.
| Config | the configuration |
| EWebComponentException | if initialization failed |
Implemented in TdjGenericWebFilter.