483413 - Warn on @Deprecated servlet/filter use
This commit is contained in:
parent
6978eeb5c4
commit
1bd0602c9f
|
@ -27,6 +27,9 @@ import javax.servlet.ServletException;
|
|||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/**
|
||||
*/
|
||||
|
@ -34,9 +37,12 @@ import javax.servlet.ServletResponse;
|
|||
@Deprecated
|
||||
public class GzipFilter implements Filter
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(GzipFilter.class);
|
||||
|
||||
@Override
|
||||
public void init(FilterConfig filterConfig) throws ServletException
|
||||
{
|
||||
LOG.warn("GzipFilter is deprecated. Use GzipHandler");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue