How to set encoding for HttpServletRequest and HttpServletResponse in jetty12? to achieve it?
In jetty9, I can set the encoding for request, response and uri by inheriting handlerWrapper and rewriting handle(String target, Request baseRequest, HttpServletRequest request,
HttpServletResponse response). Is there an alternative method in jetty12?
I set it up like this
`
protected void doFilterCharacterEncoding(
HttpServletRequest request, HttpServletResponse response)
throws UnsupportedEncodingException {
the previous implementation of HandlerWrapper for ee8 is no longer available in Jetty 12 due to the removal of the nested package.How to achieve it?
Upgrading from Jetty 9 to Jetty 12, I want the program to be compatible with ee8, ee9, and ee10. However, the previous implementation of HandlerWrapper for ee8 is no longer available in Jetty 12 due to the removal of the nested package. How can I achieve this? Are there any alternative solutions?