com.vaadin.server
Class VaadinServletSession

java.lang.Object
  extended by com.vaadin.server.VaadinSession
      extended by com.vaadin.server.VaadinServletSession
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

Deprecated. might be refactored or removed before 7.0.0

@Deprecated
public class VaadinServletSession
extends VaadinSession

Web application context for Vaadin applications. This is automatically added as a HttpSessionBindingListener when added to a HttpSession.

Since:
3.1
Author:
Vaadin Ltd.
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.server.VaadinSession
VaadinSession.ApplicationError, VaadinSession.SessionStartEvent, VaadinSession.WindowAttachEvent, VaadinSession.WindowAttachListener, VaadinSession.WindowDetachEvent, VaadinSession.WindowDetachListener
 
Field Summary
 
Fields inherited from class com.vaadin.server.VaadinSession
browser, UI_PARAMETER
 
Constructor Summary
VaadinServletSession()
          Deprecated.  
 
Method Summary
 javax.servlet.http.HttpSession getHttpSession()
          Deprecated. Gets the http-session application is running in.
 void reinitializeSession()
          Deprecated. Discards the current session and creates a new session with the same contents.
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
          Deprecated.  
 
Methods inherited from class com.vaadin.server.VaadinSession
addBootstrapListener, addRequestHandler, addUIProvider, close, closeInactiveUIs, createConnectorId, createUI, createUIInstance, getApplicationManager, getAttribute, getAttribute, getBrowser, getConfiguration, getConverterFactory, getCurrent, getErrorHandler, getForSession, getGlobalResourceHandler, getHeartbeatTimeout, getLastRequestTime, getLocale, getLock, getLogoutURL, getRequestHandlers, getSession, getTotalSessionTime, getUIById, getUIClass, getUidlRequestTimeout, getUIForRequest, getUiProvider, getUIProviders, getUIs, getURL, isRunning, isUIAlive, modifyBootstrapResponse, removeBootstrapListener, removeFromSession, removeRequestHandler, removeUIProvider, setAttribute, setAttribute, setConverterFactory, setCurrent, setErrorHandler, setLastRequestTime, setLocale, setLogoutURL, start, storeInSession, valueBound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VaadinServletSession

public VaadinServletSession()
Deprecated. 
Method Detail

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Deprecated. 
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
Overrides:
valueUnbound in class VaadinSession
See Also:
HttpSessionBindingListener.valueUnbound(HttpSessionBindingEvent)

reinitializeSession

public void reinitializeSession()
Deprecated. 
Discards the current session and creates a new session with the same contents. The purpose of this is to introduce a new session key in order to avoid session fixation attacks.


getHttpSession

public javax.servlet.http.HttpSession getHttpSession()
Deprecated. 
Gets the http-session application is running in.

Returns:
HttpSession this application context resides in.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.