update javadoc and add log warning message for PushSessionCacheFilter

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2023-05-02 12:02:16 +10:00
parent 2463f8c9f4
commit ce80bf46d4
1 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,9 @@ import org.eclipse.jetty.util.NanoTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @deprecated no replacement for this deprecated http feature
*/
@Deprecated
public class PushSessionCacheFilter implements Filter
{
@ -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
{