com.vaadin.server
Interface SessionExpiredHandler
- All Superinterfaces:
- RequestHandler, java.io.Serializable
- All Known Implementing Classes:
- HeartbeatHandler, PushRequestHandler, UidlRequestHandler
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
handleSessionExpired
boolean handleSessionExpired(VaadinRequest request,
VaadinResponse response)
throws java.io.IOException
- Called when the a session expiration has occured and a notification needs
to be sent to the user. If a response is written, this method should
return
true
to indicate that no more
SessionExpiredHandler
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:
java.io.IOException
- If an IO error occurred- Since:
- 7.1
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.