Skip to main content
Version: 8.2411.x.x RR

ModifierFlags

ModifierFlags support conditions and do not accept Pragma continue.
The ModifierFlags are checked at the end of the doFilter method. They describe what the filter may have changed. In this case, any subsequent filter/servlet will know if it has to add one or more wrappers again to fulfill the given RequestFlags.

Syntax

[ALL] [NONE] [+/-RESET_BUFFERED_BODY] [+/-RESET_COOKIES] [+/-RESET_PARAMS]

The + signals what the filter may have changed and needs to be reset. The subsequent filter/servlet will know that it has to be added again.
The - signals what has not changed, and therefore does not need to be reset. The subsequent filter/servlet won't know that it has to be added again.

ALL

Alias for all flag, it is the same as + with all other flags.

NONE

Alias for all flag, it is the same as - with all other flags.

RESET_BUFFERED_BODY

The request body may have changed. The subsequent filter/servlet with the RequestFlag NEEDS_BUFFERED_BODY will read the needed wrappers again.

* RESET_COOKIES

The cookie header may have changed. The subsequent filter/servlet with the RequestFlag NEEDS_COOKIES will read the needed wrappers again.

RESET_PARAMS

The query or the body for forms may have changed. The next subsequent filter/servlet with the RequestFlag NEEDS_PARAMS or NEEDS_JSON_PARSING will read the needed wrappers again.