Skip to content

Commit

Permalink
update javadoc and add log warning message for PushSessionCacheFilter
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed May 2, 2023
1 parent 2463f8c commit ce80bf4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* @deprecated no replacement for this deprecated http feature
*/
@Deprecated
public class PushSessionCacheFilter implements Filter
{
Expand All @@ -47,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 ce80bf4

Please sign in to comment.