I'm getting the following error in my JEE7 app:
2018-05-16 16:49:58,143WARN [org.eclipse.jetty.servlets.GzipFilter](default task-26)GzipFilter is deprecated. Use GzipHandler
My filter config:
<filter>
<filter-name>GzipFilter</filter-name>
<filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
<init-param>
<param-name>mimeTypes</param-name>
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,application/xml,text/css,application/javascript,image/svg+xml,application/json,application/xml; charset=UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>GzipFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
My question: How I can config that Gzip Handler in my web.xml?
thanks