Package io.undertow.servlet.handlers
Class SessionRestoringHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.SessionRestoringHandler
-
- All Implemented Interfaces:
HttpHandler,Lifecycle
public class SessionRestoringHandler extends Object implements HttpHandler, Lifecycle
A handler that restores persistent HTTP session state for requests in development mode.This handler should not be used in production environments.
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description SessionRestoringHandler(String deploymentName, SessionManager sessionManager, ServletContextImpl servletContext, HttpHandler next, SessionPersistenceManager sessionPersistenceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)booleanisStarted()voidstart()voidstop()
-
-
-
Constructor Detail
-
SessionRestoringHandler
public SessionRestoringHandler(String deploymentName, SessionManager sessionManager, ServletContextImpl servletContext, HttpHandler next, SessionPersistenceManager sessionPersistenceManager)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
- Specified by:
handleRequestin interfaceHttpHandler- Throws:
Exception
-
-