|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Checks whether Atmosphere is avilable for use |
|
|
* Checks whether Atmosphere is avilable for use |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @return true if Atmosphere is available, false otherwise |
|
|
* @return true if Atmosphere is available, false otherwise |
|
|
*/ |
|
|
*/ |
|
|
protected boolean isAtmosphereAvailable() { |
|
|
protected boolean isAtmosphereAvailable() { |
|
|
|
|
|
|
|
|
* <p> |
|
|
* <p> |
|
|
* By default stores the VaadinSession in the underlying HTTP session. |
|
|
* By default stores the VaadinSession in the underlying HTTP session. |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @param session |
|
|
* @param session |
|
|
* the VaadinSession to store |
|
|
* the VaadinSession to store |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
|
|
|
|
|
|
* <p> |
|
|
* <p> |
|
|
* Called by {@link #storeSession(VaadinSession, WrappedSession)} |
|
|
* Called by {@link #storeSession(VaadinSession, WrappedSession)} |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
* the underlying HTTP session |
|
|
* the underlying HTTP session |
|
|
* @param session |
|
|
* @param session |
|
|
|
|
|
|
|
|
* Called when the VaadinSession should be loaded from the underlying HTTP |
|
|
* Called when the VaadinSession should be loaded from the underlying HTTP |
|
|
* session |
|
|
* session |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
* the underlying HTTP session |
|
|
* the underlying HTTP session |
|
|
* @return the VaadinSession in the HTTP session or null if not found |
|
|
* @return the VaadinSession in the HTTP session or null if not found |
|
|
|
|
|
|
|
|
* |
|
|
* |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
* the underlying HTTP session |
|
|
* the underlying HTTP session |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @return the VaadinSession or null if no session was found |
|
|
* @return the VaadinSession or null if no session was found |
|
|
*/ |
|
|
*/ |
|
|
protected VaadinSession readFromHttpSession(WrappedSession wrappedSession) { |
|
|
protected VaadinSession readFromHttpSession(WrappedSession wrappedSession) { |
|
|
|
|
|
|
|
|
* Called when the VaadinSession should be removed from the underlying HTTP |
|
|
* Called when the VaadinSession should be removed from the underlying HTTP |
|
|
* session |
|
|
* session |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
* the underlying HTTP session |
|
|
* the underlying HTTP session |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
* Performs the actual removal of the VaadinSession from the underlying HTTP |
|
|
* Performs the actual removal of the VaadinSession from the underlying HTTP |
|
|
* session after sanity checks have been performed |
|
|
* session after sanity checks have been performed |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @param wrappedSession |
|
|
* @param wrappedSession |
|
|
* the underlying HTTP session |
|
|
* the underlying HTTP session |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
* Returns the name used for storing the VaadinSession in the underlying |
|
|
* Returns the name used for storing the VaadinSession in the underlying |
|
|
* HTTP session |
|
|
* HTTP session |
|
|
* |
|
|
* |
|
|
* @since |
|
|
|
|
|
|
|
|
* @since 7.6 |
|
|
* @return the attribute name used for storing the VaadinSession |
|
|
* @return the attribute name used for storing the VaadinSession |
|
|
*/ |
|
|
*/ |
|
|
protected String getSessionAttributeName() { |
|
|
protected String getSessionAttributeName() { |