0b1c28a888
This PR refactors the ee10 handing of servlet API request and response objects: + The ServletContextHandler matches the request to a servlet and creates a one time only ServletContextRequest and a ServletContextResponse + A reusable ServletChannel object with all the heavy weight HttpInput and HttpOutput object is associated with the ServletContextRequest and ServletContextResponse. + Once the handling reaches the ServletHandler, the possibly wrapped request, response and callback are associated with the ServletChannel before handling. + Were possible the ServletApiRequest and ServletApiResponse use the possibly wrapped request/response Added tests to check that GzipHandler can now be nested inside of an EE10 context. --------- Signed-off-by: Ludovic Orban <lorban@bitronix.be> Signed-off-by: gregw <gregw@webtide.com> Co-authored-by: Ludovic Orban <lorban@bitronix.be> |
||
---|---|---|
.. | ||
src | ||
pom.xml |