-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Expose ServletHolder getter in ServletHandler$ChainEnd for auditing libraries to use #6487
Comments
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…d-servletholder Issue #6487 - expose ServletHolder in ChainEnd
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…nd-servletholder Issue #6487 - expose ServletHolder in ChainEnd (Jetty 10)
@joakime I'm closing this as both PRs are merged. |
@gregw any reason why Chain and ChainEnd are still private? |
@joakime well the question really should be put the other way. What is the reason for not having them private? |
@gregw to allow people to implement the |
@joakime developers that implement |
Jetty version(s)
9.4.42
Java version/vendor
(use: java -version)
All
OS type/version
All
Description
If an audit library wants to hook into the
FilterChain
of theServletHandler
, they use the new APIs such asServletHandler.newFilterChain(FilterHolder filterHolder, FilterChain chain)
introduced in Issue #5022However accessing the
ServletHolder
isn't that easy, and you have to resort to reflection trickery to access it.We should expose the
ServletHolder
as a formal API.The text was updated successfully, but these errors were encountered: