Skip to content

Commit

Permalink
Merge pull request #9715 from eclipse/jetty-10.0.x-PushSessionCacheFi…
Browse files Browse the repository at this point in the history
…lter

deprecate PushSessionCacheFilter
  • Loading branch information
lachlan-roberts authored May 3, 2023
2 parents 6a07523 + ce80bf4 commit 32f026c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -46,6 +50,11 @@ public class PushSessionCacheFilter implements Filter
private final ConcurrentMap<String, Target> _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
{
Expand Down

0 comments on commit 32f026c

Please sign in to comment.