Daraja HTTP Framework 2.8
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
TdjGenericWebFilter Class Reference

Defines a generic Web Filter. More...

+ Inheritance diagram for TdjGenericWebFilter:

Public Member Functions

 TdjGenericWebFilter ()
 Constructor.
 
 ~TdjGenericWebFilter ()
 Destructor.
 
 Init (const IWebFilterConfig 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 ()
 

Detailed Description

Defines a generic Web Filter.

Member Function Documentation

◆ DoFilter()

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.