Interface StaleSessionDetector
- All Known Implementing Classes:
DefaultStaleSessionDetector
public interface StaleSessionDetector
Responsible for providing a
StaleSessionDetector.Detection objet for given HttpServletRequest.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceResponsible for detecting if session is stale or not. -
Method Summary
Modifier and TypeMethodDescriptionbeginDetection(javax.servlet.http.HttpServletRequest request) Provides aStaleSessionDetector.Detectionobject for theHttpServletRequest.
-
Method Details
-
beginDetection
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
-