When configuring expression filter in undertow subsystem using "response-code" handler, then response code value must be added as follows:
response-code(value=403)
althought in documentation is example like this:
response-code(403)
The problem seems to be here - method defaultParameter() returns "200" which is probably mistake as this handler has no such parameter.
I suppose that either method defaultParameter() returns
- null, so "value=403" format must be used (and documentation must be fixed)
- "value", so format "403" may be used
- is cloned by
-
UNDERTOW-481 ResponseCodeHandler defaultParameter() returns "200"
- Resolved