Interface StaleSessionDetector
-
- All Known Implementing Classes:
DefaultStaleSessionDetector
public interface StaleSessionDetectorResponsible for providing aStaleSessionDetector.Detectionobjet for givenHttpServletRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStaleSessionDetector.DetectionResponsible for detecting if session is stale or not.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StaleSessionDetector.DetectionbeginDetection(javax.servlet.http.HttpServletRequest request)Provides aStaleSessionDetector.Detectionobject for theHttpServletRequest.
-
-
-
Method Detail
-
beginDetection
StaleSessionDetector.Detection beginDetection(javax.servlet.http.HttpServletRequest request)
Provides aStaleSessionDetector.Detectionobject for theHttpServletRequest. Since theStaleSessionDetector.DetectionextendsAutoCloseableit is advised to use this method in the try with resources block.- Parameters:
request- request to check- Returns:
- a
StaleSessionDetector.Detectionimplementation
-
-