Interface SessionTimeout
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides access to the configured session timeout. The timeout is available
irrespective of the deployment type:
- a servlet web application
- using an embedded web server
- deployed as a war file
- a reactive web application
- Since:
- 4.0.1
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescription@Nullable DurationReturns the session timeout ornullif no timeout has been configured.
-
Method Details
-
getTimeout
@Nullable Duration getTimeout()Returns the session timeout ornullif no timeout has been configured.- Returns:
- the timeout or
null
-