mod_servlet
C++Servlets
 All Classes Files Functions Variables Typedefs Macros Pages
servlet::filter_chain Class Referenceabstract

A filter_chain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource. More...

#include <filter.h>

Public Member Functions

virtual void do_filter (http_request &request, http_response &response)=0
 Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. More...
 

Detailed Description

A filter_chain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource.

Filters use the filter_chain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.

See Also
http_filter

Member Function Documentation

virtual void servlet::filter_chain::do_filter ( http_request request,
http_response response 
)
pure virtual

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

Parameters
requestthe request to pass along the chain.
responsethe response to pass along the chain.

The documentation for this class was generated from the following file: