diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushSessionCacheFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushSessionCacheFilter.java index fb93cea5697b..592a4c080f42 100644 --- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushSessionCacheFilter.java +++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushSessionCacheFilter.java @@ -37,6 +37,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * @deprecated no replacement for this deprecated http feature + */ +@Deprecated public class PushSessionCacheFilter implements Filter { private static final String RESPONSE_ATTR = "PushSessionCacheFilter.response"; @@ -46,6 +50,11 @@ public class PushSessionCacheFilter implements Filter private final ConcurrentMap _cache = new ConcurrentHashMap<>(); private long _associateDelay = 5000L; + public PushSessionCacheFilter() + { + LOG.warn(PushSessionCacheFilter.class.getSimpleName() + " is an example class not suitable for production."); + } + @Override public void init(FilterConfig config) throws ServletException {