Skip to content

Commit

Permalink
Merge pull request #9716 from eclipse/jetty-9.4.x-PushSessionCacheFilter
Browse files Browse the repository at this point in the history
deprecate PushSessionCacheFilter (9.4)
  • Loading branch information
lachlan-roberts authored May 3, 2023
2 parents da3186b + 2588ced commit ab864a1
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;

/**
* @deprecated no replacement for this deprecated http feature
*/
@Deprecated
public class PushSessionCacheFilter implements Filter
{
private static final String TARGET_ATTR = "PushCacheFilter.target";
Expand All @@ -49,6 +53,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 ab864a1

Please sign in to comment.