Uses of Class
com.vaadin.server.VaadinSession
-
Packages that use VaadinSession Package Description com.vaadin.data.util.converter com.vaadin.server com.vaadin.server.communication com.vaadin.ui com.vaadin.util -
-
Uses of VaadinSession in com.vaadin.data.util.converter
Methods in com.vaadin.data.util.converter with parameters of type VaadinSession Modifier and Type Method Description static <PRESENTATIONTYPE,MODELTYPE>
Converter<PRESENTATIONTYPE,MODELTYPE>ConverterUtil. getConverter(Class<PRESENTATIONTYPE> presentationType, Class<MODELTYPE> modelType, VaadinSession session)Finds a converter that can convert from the given presentation type to the given model type and back. -
Uses of VaadinSession in com.vaadin.server
Methods in com.vaadin.server that return VaadinSession Modifier and Type Method Description protected VaadinSessionVaadinService. createVaadinSession(VaadinRequest request)Creates a new Vaadin session for this service and requestVaadinSessionVaadinService. findVaadinSession(VaadinRequest request)Attempts to find a Vaadin service session associated with this request.protected VaadinSessionGAEVaadinServlet. getApplicationContext(javax.servlet.http.HttpServletRequest request, com.google.appengine.api.memcache.MemcacheService memcache)VaadinSessionLegacyApplication. getContext()Deprecated.static VaadinSessionVaadinSession. getCurrent()Gets the currently used session.protected VaadinSessionVaadinService. getExistingSession(VaadinRequest request, boolean allowSessionCreation)static VaadinSessionVaadinSession. getForSession(VaadinService service, WrappedSession underlyingSession)Deprecated.as of 7.6, callVaadinService.loadSession(WrappedSession)insteadprotected VaadinSessionAbstractClientConnector. getSession()Finds theVaadinSessionto which this connector belongs.VaadinSessionBootstrapHandler.BootstrapContext. getSession()VaadinSessionBootstrapResponse. getSession()Gets the service session to which the rendered view belongs.protected VaadinSessionLegacyCommunicationManager. getSession()Deprecated.VaadinSessionSessionDestroyEvent. getSession()Gets the Vaadin service session that is no longer used.VaadinSessionSessionInitEvent. getSession()Gets the Vaadin service session that has been initialized.protected VaadinSessionVaadinService. loadSession(WrappedSession wrappedSession)Called when the VaadinSession should be loaded from the underlying HTTP sessionprotected VaadinSessionVaadinService. readFromHttpSession(WrappedSession wrappedSession)Performs the actual read of the VaadinSession from the underlying HTTP session after sanity checks have been performed.Methods in com.vaadin.server that return types with arguments of type VaadinSession Modifier and Type Method Description static Collection<VaadinSession>VaadinSession. getAllSessions(javax.servlet.http.HttpSession httpSession)Retrieves allVaadinSessions which are stored in the given HTTP sessionMethods in com.vaadin.server with parameters of type VaadinSession Modifier and Type Method Description Future<Void>VaadinService. accessSession(VaadinSession session, Runnable runnable)Implementation foraccess(Runnable).static voidServletPortletHelper. checkUiProviders(VaadinSession session, VaadinService vaadinService)Deprecated.voidVaadinService. closeSession(VaadinSession session)Sets the given session to be closed and all its UI state to be discarded at the end of the current request, or at the end of the next request if there is no ongoing one.voidVaadinService. ensureAccessQueuePurged(VaadinSession session)Makes sure the pending access queue is purged for the provided session.static ErrorHandlerErrorEvent. findErrorHandler(VaadinSession session)Method for finding the error handler for the given session.static LocaleServletPortletHelper. findLocale(Component component, VaadinSession session, VaadinRequest request)Deprecated.Helper to find the most most suitable Locale.voidVaadinService. fireSessionDestroy(VaadinSession vaadinSession)Handles destruction of the given session.abstract StringVaadinService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)Creates and returns a unique ID for the DIV where the UI is to be rendered.StringVaadinServletService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)booleanConnectorResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanGlobalResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Called when a request needs to be handled.booleanSynchronizedRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)static voidServletPortletHelper. initDefaultUIProvider(VaadinSession session, VaadinService vaadinService)Deprecated.static booleanVaadinService. isCsrfTokenValid(VaadinSession session, String requestToken)Verifies that the given CSRF token (aka double submit cookie) is valid for the given session.static booleanVaadinService. isOtherSessionLocked(VaadinSession session)Checks whether there might be someVaadinSessionother than the provided one for which the current thread holds a lock.voidVaadinService. requestEnd(VaadinRequest request, VaadinResponse response, VaadinSession session)Called after the framework has handled a request and the response has been written.voidVaadinService. runPendingAccessTasks(VaadinSession session)Purges the queue of pending access invocations enqueued withaccess(Runnable).static voidVaadinSession. setCurrent(VaadinSession session)Sets the thread local for the current session.protected voidVaadinService. storeSession(VaadinSession session, WrappedSession wrappedSession)Called when the VaadinSession should be stored.booleanBootstrapHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Deprecated.abstract booleanSynchronizedRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Identical toSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)except theVaadinSessionis locked before this is called and unlocked after this has completed.booleanUnsupportedBrowserHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)static voidVaadinService. verifyNoOtherSessionLocked(VaadinSession session)Checks that anotherVaadinSessioninstance is not locked.protected voidVaadinService. writeToHttpSession(WrappedSession wrappedSession, VaadinSession session)Performs the actual write of the VaadinSession to the underlying HTTP session after sanity checks have been performed.Constructors in com.vaadin.server with parameters of type VaadinSession Constructor Description BootstrapFragmentResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, List<org.jsoup.nodes.Node> fragmentNodes, UIProvider uiProvider)Crate a new bootstrap fragment response.BootstrapPageResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, org.jsoup.nodes.Document document, Map<String,Object> headers, UIProvider uiProvider)Crate a new bootstrap page response.BootstrapResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, UIProvider uiProvider)Creates a new bootstrap event.DragAndDropService(VaadinSession session)FutureAccess(VaadinSession session, Runnable runnable)Creates an instance for the given runnableLegacyCommunicationManager(VaadinSession session)Deprecated.TODO New constructor - document me!SessionDestroyEvent(VaadinService service, VaadinSession session)Creates a new event.SessionInitEvent(VaadinService service, VaadinSession session, VaadinRequest request)Creates a new event. -
Uses of VaadinSession in com.vaadin.server.communication
Methods in com.vaadin.server.communication with parameters of type VaadinSession Modifier and Type Method Description protected voidFileUploadHandler. doHandleSimpleMultipartFileUpload(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamVariable streamVariable, String variableName, ClientConnector owner, String boundary)Method used to stream content from a multipart request (either from servlet or portlet request) to given StreamVariable.protected voidFileUploadHandler. doHandleXhrFilePost(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamVariable streamVariable, String variableName, ClientConnector owner, long contentLength)Used to stream plain file post (aka XHR2.post(File))booleanFileUploadHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanPublishedFileHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Writes the connector resource identified by the request URI to the response.booleanPushRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanSessionRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)protected booleanFileUploadHandler. streamToReceiver(VaadinSession session, InputStream in, StreamVariable streamVariable, String filename, String type, long contentLength)booleanHeartbeatHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Handles a heartbeat request for the given session.booleanUidlRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanUIInitHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response) -
Uses of VaadinSession in com.vaadin.ui
Methods in com.vaadin.ui that return VaadinSession Modifier and Type Method Description VaadinSessionUI. getSession()Gets the application object to which the component is attached.Methods in com.vaadin.ui with parameters of type VaadinSession Modifier and Type Method Description voidUI. setSession(VaadinSession session)Sets the session to which this UI is assigned. -
Uses of VaadinSession in com.vaadin.util
Methods in com.vaadin.util with parameters of type VaadinSession Modifier and Type Method Description static Map<Class<?>,CurrentInstance>CurrentInstance. setCurrent(VaadinSession session)Sets current instances for theVaadinSessionand all related classes.
-