Add `HttpServerResponseCustomizer` support for Servlet 2.2/3.0/5.0 and Jetty 8/11 instrumentations. Enabled testing for it in JaxRs tests as well since those should now all be covered due to servlet instrumentations. Fixed Jetty 11 test source set directory name. Known limitation - response headers do not work on Jetty 8 for internal exception pages caused by throwing an exception that is handled outside of instrumentation scope, working around this would require an additional instrumentation and/or keeping an expired `Context` instance referenced by the response object. This does not appear to be an issue on Jetty 11. Additionally, calling `ServletResponse#reset` can wipe headers as well, for which there is no workaround (yet?) in this PR. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |