Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servlet 4 instrument javax.servlet.xxx.mapping request attributes for forward,include and async #4507

Closed
janbartel opened this issue Jan 21, 2020 · 0 comments · Fixed by #4590
Assignees
Labels
Specification For all industry Specifications (IETF / Servlet / etc)

Comments

@janbartel
Copy link
Contributor

janbartel commented Jan 21, 2020

jetty-10

Servlet Spec, 12.3.1 Runtime Discovery of Mappings, pg 12-128

The method getHttpServletMapping() on HttpServletRequest returns an
HttpServletMapping implementation that provides information for the mapping
that caused the current Servlet to be invoked. Please see the javadocs for the
normative specification. Please see sections Section 9.3.1, “Included Request
Parameters” on page 9-101Section 9.4.2, “Forwarded Request Parameters” on
page 9-102 and Section 9.7.2, “Dispatched Request Parameters” on page 9-104 for
relevant request attributes. As with the included and forwarded request parameters,
the HttpServletMapping is not available for servlets that have been obtained with
a call to ServletContext.getNamedDispatcher()

Jetty needs to make the forward attribute javax.servlet.forward.mapping and the include attribute javax.servlet.include.mapping and the AsyncContext javax.servlet.async.mapping attribute available.

@janbartel janbartel added the Specification For all industry Specifications (IETF / Servlet / etc) label Jan 21, 2020
@janbartel janbartel self-assigned this Jan 21, 2020
@janbartel janbartel changed the title Servlet 4 instrument javax.servlet.forward.mapping and javax.servlet.include.mapping Servlet 4 instrument javax.servlet.xxx.mapping request attributes for forward,include and async Jan 21, 2020
janbartel added a commit that referenced this issue Feb 17, 2020
…ping

Signed-off-by: Jan Bartel <janb@webtide.com>
janbartel added a commit that referenced this issue Feb 18, 2020
Signed-off-by: Jan Bartel <janb@webtide.com>
janbartel added a commit that referenced this issue Feb 19, 2020
Signed-off-by: Jan Bartel <janb@webtide.com>
janbartel added a commit that referenced this issue Mar 10, 2020
* Issue #4507 Implement forward/include/async params for HttpServletMapping

Signed-off-by: Jan Bartel <janb@webtide.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Specification For all industry Specifications (IETF / Servlet / etc)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant