update javadoc and add log warning message for PushSessionCacheFilter
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
2463f8c9f4
commit
ce80bf46d4
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue