Package io.undertow.servlet.handlers
Class CrawlerSessionManagerHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.CrawlerSessionManagerHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class CrawlerSessionManagerHandler extends java.lang.Object implements io.undertow.server.HttpHandler
Web crawlers can trigger the creation of many thousands of sessions as they crawl a site which may result in significant memory consumption. This Valve ensures that crawlers are associated with a single session - just like normal users - regardless of whether or not they provide a session token with their requests.
-
-
Constructor Summary
Constructors Constructor Description CrawlerSessionManagerHandler(CrawlerSessionManagerConfig config, io.undertow.server.HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
CrawlerSessionManagerHandler
public CrawlerSessionManagerHandler(CrawlerSessionManagerConfig config, io.undertow.server.HttpHandler next)
-
-