2.2.7 Details of the Filter property

This subsection describes the details of the Filter property of cosminexus.xml with reference to each tag.

Note that the tag details are described in the order mentioned in 2.1 Specifications of the Cosminexus application property file (cosminexus.xml).

Organization of this subsection
(1) <filter>
(2) <filter-name>
(3) <method-observation-timeout>

(1) <filter>

Description
This tag defines the Filter.
You cannot specify this tag when web.xml is not included.
Specifiable value
None.
Dependency on other tags
None.
Tag omission
You can omit this tag.
Value omission
You cannot omit the value of this tag.

(2) <filter-name>

Description
This is a key for identifying the Filter.
This tag specifies the value set for <web-app>-<filter>-<filter-name> in the web.xml file.
Specifiable value
There are no limitations for the input value.
Dependency on other tags
None.
Tag omission
You cannot omit this tag.
Value omission
You cannot omit the value of this tag.

(3) <method-observation-timeout>

Description
This tag specifies the timeout value (seconds) for monitoring the doFilter method of the filter invoked by extending a request.
When you specify 0, a timeout does not occur.
Specifiable value
Specify an integer value from 0 to 86400.
Dependency on other tags
None.
Tag omission
You cannot omit this tag.
Value omission
You cannot omit the value of this tag.