uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.9 Functionality of filtering requests and responses

This subsection describes the functionality for filtering the requests and responses.

The following table describes the organization of this section.

Table 2-34 Organization of this section (Functionality for filtering requests and responses)

Category Title Reference
Description Servlet filter provided by Application Server (built-in filter) 2.9.1
Examples of recommended filter chain 2.9.2
Implementation Definition in the DD 2.9.3
Settings Execution environment settings (Web application settings) 2.9.4

Note:
There is no specific description of Operations and Notes for this functionality.

The filtering functionality available on Application Server is the functionality defined in the Servlet specifications and the functionality provided with Application Server. Both of the above functions filter requests and responses of servlets or JSPs.

The filtering functionality defined in the Servlet specifications wraps the requests before executing the servlets and JSPs or the responses after executing the servlets and JSPs. As a result, you can perform operations such as changing the data and acquiring the trace for the resources.

With the filtering functionality provided with Application Server, you can inherit the session information and compress the HTTP responses. In Application Server, a servlet filter is provided for using this filtering functionality. The servlet filter provided in Application Server is called a built-in filter. The following subsection explains the built-in filter provided in Application Server.

Organization of this section
2.9.1 Servlet filter provided by Application Server (built-in filter)
2.9.2 Examples of recommended filter chain
2.9.3 Definition in the DD
2.9.4 Execution environment settings (Web application settings)