com.vaadin.server.
Interface SessionExpiredHandler
-
All Superinterfaces:
All Known Implementing Classes:
public interface SessionExpiredHandler extends RequestHandler
A specialized RequestHandler which is capable of sending session expiration messages to the user.
Since:
7.1
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description boolean
handleSessionExpired​(VaadinRequest request, VaadinResponse response)
Called when the a session expiration has occurred and a notification needs to be sent to the user.
-
Methods inherited from interface com.vaadin.server.RequestHandler
handleRequest
-
-
-
-
Method Detail
-
handleSessionExpired
boolean handleSessionExpired​(VaadinRequest request, VaadinResponse response) throws IOException
Called when the a session expiration has occurred and a notification needs to be sent to the user. If a response is written, this method should return
true
to indicate that no moreSessionExpiredHandler
handlers should be invoked for the request.Parameters:
request
- The request to handleresponse
- The response object to which a response can be written.Returns:
true if a response has been written and no further request handlers should be called, otherwise false
Throws:
IOException
- If an IO error occurredSince:
7.1
-
-