Class MockVaadinSession
java.lang.Object
com.vaadin.server.VaadinSession
com.vaadin.testbench.uiunittest.mocks.MockVaadinSession
- All Implemented Interfaces:
Serializable,EventListener,javax.servlet.http.HttpSessionBindingListener
- Direct Known Subclasses:
MockUI.AlwaysLockedVaadinSession
public class MockVaadinSession
extends com.vaadin.server.VaadinSession
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.server.VaadinSession
com.vaadin.server.VaadinSession.FutureAccess, com.vaadin.server.VaadinSession.State -
Field Summary
Fields inherited from class com.vaadin.server.VaadinSession
browser, UI_PARAMETER -
Constructor Summary
ConstructorsConstructorDescriptionMockVaadinSession(com.vaadin.server.VaadinService service, MockHttpSession httpSession) -
Method Summary
Methods inherited from class com.vaadin.server.VaadinSession
access, accessSynchronously, addBootstrapListener, addRequestHandler, addUI, addUIProvider, createConnectorId, getAllSessions, getAttribute, getAttribute, getBrowser, getCommunicationManager, getConfiguration, getConverterFactory, getCsrfToken, getCumulativeRequestDuration, getCurrent, getDragAndDropService, getErrorHandler, getForSession, getGlobalResourceHandler, getLastRequestDuration, getLastRequestTimestamp, getLocale, getNextConnectorId, getNextUIid, getPendingAccessQueue, getPushId, getRequestHandlers, getService, getState, getUIByEmbedId, getUIById, getUIProviders, getUIs, hasLock, hasLock, isClosing, modifyBootstrapResponse, refreshTransients, removeBootstrapListener, removeFromSession, removeRequestHandler, removeUI, removeUIProvider, setAttribute, setAttribute, setCommunicationManager, setConfiguration, setConverterFactory, setCurrent, setErrorHandler, setLastRequestDuration, setLastRequestTimestamp, setLocale, setState, storeInSession, valueBound, valueUnbound
-
Constructor Details
-
MockVaadinSession
-
-
Method Details
-
getSession
public com.vaadin.server.WrappedSession getSession()- Overrides:
getSessionin classcom.vaadin.server.VaadinSession
-
getHttpSession
-
close
public void close()- Overrides:
closein classcom.vaadin.server.VaadinSession
-
getCloseCount
public int getCloseCount() -
getLockInstance
- Overrides:
getLockInstancein classcom.vaadin.server.VaadinSession
-
lock
public void lock()- Overrides:
lockin classcom.vaadin.server.VaadinSession
-
unlock
public void unlock()- Overrides:
unlockin classcom.vaadin.server.VaadinSession
-