Class MockVaadinService
java.lang.Object
com.vaadin.server.VaadinService
com.vaadin.server.VaadinServletService
com.vaadin.testbench.uiunittest.mocks.MockVaadinService
- All Implemented Interfaces:
Serializable
public class MockVaadinService
extends com.vaadin.server.VaadinServletService
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.vaadin.server.VaadinService
URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionMockVaadinService(com.vaadin.server.DeploymentConfiguration deploymentConfiguration) MockVaadinService(MockVaadinService.MockVaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) -
Method Summary
Methods inherited from class com.vaadin.server.VaadinServletService
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getContextRootRelativePath, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSessionMethods inherited from class com.vaadin.server.VaadinService
accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, cleanupSession, closeSession, createCriticalNotificationJSON, createVaadinSession, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, generateConnectorId, getClassLoader, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getLockAttributeName, getRequestHandlers, getServiceInitListeners, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, initConnectorIdGenerator, initDependencyFilters, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, lockSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSessionLock, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponse
-
Constructor Details
-
MockVaadinService
public MockVaadinService() throws com.vaadin.server.ServiceException- Throws:
com.vaadin.server.ServiceException
-
MockVaadinService
public MockVaadinService(com.vaadin.server.DeploymentConfiguration deploymentConfiguration) throws com.vaadin.server.ServiceException - Throws:
com.vaadin.server.ServiceException
-
MockVaadinService
public MockVaadinService(MockVaadinService.MockVaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration) throws com.vaadin.server.ServiceException - Throws:
com.vaadin.server.ServiceException
-
-
Method Details
-
createRequestHandlers
protected List<com.vaadin.server.RequestHandler> createRequestHandlers() throws com.vaadin.server.ServiceException- Overrides:
createRequestHandlersin classcom.vaadin.server.VaadinServletService- Throws:
com.vaadin.server.ServiceException
-
init
public void init()- Overrides:
initin classcom.vaadin.server.VaadinService
-
isAtmosphereAvailable
protected boolean isAtmosphereAvailable()- Overrides:
isAtmosphereAvailablein classcom.vaadin.server.VaadinService
-