Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDevServerRunner - Class in com.vaadin.base.devserver
-
Deals with most details of starting a frontend development server or connecting to an existing one.
- AbstractDevServerRunner(Lookup, int, File, CompletableFuture<Void>) - Constructor for class com.vaadin.base.devserver.AbstractDevServerRunner
-
Craete an instance that waits for the given task to complete before starting or connecting to the server.
- access(Command) - Method in class com.vaadin.base.devserver.stats.StatisticsStorage
-
Runs the given command with the store locked.
- aggregate(String, double) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Sets the value to the given field and updates related aggregate fields.
- anyMatches(String) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Determines if any of the changed resources URI match the given regular expression.
- anyUIRequiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Determines whether any of the active UIs requires a full page reload, based on global or specific UI update strategies.
- anyUIRequiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Determines whether any of the active UIs requires a full page reload, based on global or specific UI update strategies.
- anyUIRequiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Determines whether any of the active UIs requires a full page reload, based on global or specific UI update strategies.
- awaitFirstMatch(int) - Method in class com.vaadin.base.devserver.DevServerOutputTracker
-
Blocks until the first match is found and the callback has been run.
B
- broadcast(ObjectNode) - Method in class com.vaadin.base.devserver.DebugWindowConnection
-
Broadcasts the given message to all connected clients.
- BrowserLauncher - Class in com.vaadin.base.devserver
-
Util for launching a browser instance.
- BrowserLauncher(VaadinContext) - Constructor for class com.vaadin.base.devserver.BrowserLauncher
-
Init a launcher for the given context.
- BrowserLiveReloadAccessorImpl - Class in com.vaadin.base.devserver
-
Default implementation for
BrowserLiveReloadAccessorthat stores the instance in the Vaadin context. - BrowserLiveReloadAccessorImpl() - Constructor for class com.vaadin.base.devserver.BrowserLiveReloadAccessorImpl
- bundle(String, String) - Method in class com.vaadin.base.devserver.PublicStyleSheetBundler
-
Bundles the CSS content for the given stylesheet URL by resolving it against known public source roots and inlining any
@importstatements.
C
- checkConnection() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Check the connection to the dev server.
- clearFragmentedMessage(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- close() - Method in class com.vaadin.base.devserver.ExternalDependencyWatcher
- close() - Method in class com.vaadin.base.devserver.PublicResourcesLiveUpdater
- close() - Method in class com.vaadin.base.devserver.ThemeLiveUpdater
-
Stops watching the folder and cleans up resources.
- close() - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
-
Closes the connection.
- close() - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketProxy
-
Terminates the connection.
- collectEvent(String) - Static method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Increments specified event count in the current project data.
- collectEvent(String, double) - Static method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Update a value in usage statistics.
- com.vaadin.base.devserver - package com.vaadin.base.devserver
- com.vaadin.base.devserver.hotswap - package com.vaadin.base.devserver.hotswap
- com.vaadin.base.devserver.hotswap.impl - package com.vaadin.base.devserver.hotswap.impl
- com.vaadin.base.devserver.startup - package com.vaadin.base.devserver.startup
- com.vaadin.base.devserver.stats - package com.vaadin.base.devserver.stats
- com.vaadin.base.devserver.viteproxy - package com.vaadin.base.devserver.viteproxy
- contextDestroyed(ServletContextEvent) - Method in class com.vaadin.base.devserver.startup.DevModeStartupListener
- contextInitialized(ServletContextEvent) - Method in class com.vaadin.base.devserver.startup.DevModeStartupListener
D
- DebugWindowConnection - Class in com.vaadin.base.devserver
-
BrowserLiveReloadimplementation class. - DebugWindowConnection.DevToolsInterfaceImpl - Class in com.vaadin.base.devserver
-
Implementation of the development tools interface.
- DebugWindowMessage - Class in com.vaadin.base.devserver
-
A message sent to the debug window.
- DebugWindowMessage(String, Object) - Constructor for class com.vaadin.base.devserver.DebugWindowMessage
-
Creates a new instance.
- DefaultTranslationsHotswapper - Class in com.vaadin.base.devserver.hotswap.impl
-
Handles the automatic hotswapping of translation resources in a Vaadin-based application.
- DefaultTranslationsHotswapper() - Constructor for class com.vaadin.base.devserver.hotswap.impl.DefaultTranslationsHotswapper
- DEV_SERVER_HOST - Static variable in class com.vaadin.base.devserver.AbstractDevServerRunner
- DevBundleBuildingHandler - Class in com.vaadin.base.devserver
-
A fake DevModeHandler whose only purpose is to eagerly show a "build in progress" HTML page to the user, during the creation of the development bundle.
- DevBundleBuildingHandler(CompletableFuture<Void>) - Constructor for class com.vaadin.base.devserver.DevBundleBuildingHandler
- DevModeHandlerManagerImpl - Class in com.vaadin.base.devserver
-
Provides API to access to the
DevModeHandlerinstance. - DevModeHandlerManagerImpl() - Constructor for class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- DevModeInitializer - Class in com.vaadin.base.devserver.startup
-
Initializer for starting node updaters as well as the dev mode server.
- DevModeInitializer() - Constructor for class com.vaadin.base.devserver.startup.DevModeInitializer
- DevModeStartupListener - Class in com.vaadin.base.devserver.startup
-
Trigger for running dev mode initialization when running in a compatible servlet environment.
- DevModeStartupListener() - Constructor for class com.vaadin.base.devserver.startup.DevModeStartupListener
- DevModeUsageStatistics - Class in com.vaadin.base.devserver.stats
-
Singleton for collecting development time usage metrics
- DevServerOutputTracker - Class in com.vaadin.base.devserver
-
Tracks the output of a dev server and scans for given success and/or failure patterns while copying the dev server output to standard output.
- DevServerOutputTracker(InputStream, Pattern, Pattern, Consumer<DevServerOutputTracker.Result>) - Constructor for class com.vaadin.base.devserver.DevServerOutputTracker
-
Creates a new finder that scans for the given success and/or failure pattern.
- DevServerOutputTracker.Result - Class in com.vaadin.base.devserver
-
Encapsulates the result of a find operation.
- DevToolsInterface - Interface in com.vaadin.base.devserver
-
For interfacing with the development tools by plugins.
- DevToolsMessageHandler - Interface in com.vaadin.base.devserver
-
Handles dev tools messages from the client.
- doStartDevServer() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Starts the dev server and returns the started process.
E
- ECLIPSE - Enum constant in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
- equals(Object) - Method in class com.vaadin.base.devserver.DebugWindowConnection.DevToolsInterfaceImpl
- equals(Object) - Method in record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Indicates whether some other object is "equal to" this one.
- EVENT_LIVE_RELOAD - Static variable in class com.vaadin.base.devserver.stats.StatisticsConstants
- ExternalDependencyWatcher - Class in com.vaadin.base.devserver
-
Watches external dependency folders for changes and copies modified files to the JAR frontend resources folder.
- ExternalDependencyWatcher(VaadinContext, File) - Constructor for class com.vaadin.base.devserver.ExternalDependencyWatcher
F
- FeatureFlagMessage - Class in com.vaadin.base.devserver
-
Message with feature flags sent to the debug window.
- FeatureFlagMessage(List<Feature>) - Constructor for class com.vaadin.base.devserver.FeatureFlagMessage
-
Creates a new message with the given features.
- fetchHillaVersion() - Static method in class com.vaadin.base.devserver.ServerInfo
- fetchJavaVersion() - Static method in class com.vaadin.base.devserver.ServerInfo
- fetchOperatingSystem() - Static method in class com.vaadin.base.devserver.ServerInfo
- fetchVaadinVersion() - Static method in class com.vaadin.base.devserver.ServerInfo
- FileWatcher - Class in com.vaadin.base.devserver
-
Watches for the file or sub-directory changes in the given directory.
- FileWatcher(SerializableConsumer<File>, File) - Constructor for class com.vaadin.base.devserver.FileWatcher
-
Creates an instance of the file watcher for the given directory.
- find() - Method in class com.vaadin.base.devserver.DevServerOutputTracker
-
Runs the find operation.
- FORCE_RELOAD_PROPERTY - Static variable in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Configuration name for the system parameter that determines whether Hotswapper should always trigger a full page reload instead of computing an appropriate UI refresh strategy.
- forcePageReload(VaadinService, boolean) - Static method in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Instructs the
Hotswapperif a full page reload should always be triggered instead of detecting the best UI refresh strategy. - forResourceLocations(List<File>) - Static method in class com.vaadin.base.devserver.PublicStyleSheetBundler
-
Creates a new bundler instance configured with an explicit list of source roots.
G
- getApplicationConfiguration() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the application configuration.
- getArtifactId(Document) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Finds the artifact id for the given pom file.
- getBackend() - Method in class com.vaadin.base.devserver.DebugWindowConnection
- getChangedClasses() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Retrieves the set of classes that were modified during a hotswap operation.
- getChangedResources() - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
- getClasses() - Method in class com.vaadin.base.devserver.hotswap.HotswapCompleteEvent
-
Gets the classes that were updated.
- getCommand() - Method in class com.vaadin.base.devserver.DebugWindowMessage
- getData() - Method in class com.vaadin.base.devserver.DebugWindowMessage
- getDevModeHandler() - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- getDevToolsInterface(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- getFailedOutput() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- getFailedOutput() - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- getFeatures() - Method in class com.vaadin.base.devserver.FeatureFlagMessage
- getFrontendTools() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- getGroupId(Document) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Finds the group id for the given pom file.
- getHandlesTypes() - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- getIdeAndProcessInfo() - Static method in class com.vaadin.base.devserver.OpenInCurrentIde
-
Gets the IDE and process info for the current process.
- getLiveReload(VaadinContext) - Method in class com.vaadin.base.devserver.BrowserLiveReloadAccessorImpl
- getLiveReload(VaadinService) - Method in class com.vaadin.base.devserver.BrowserLiveReloadAccessorImpl
- getLogger() - Static method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketProxy
- getModuleFolders(Document) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Gets a list of the folders containing the sub modules for the given pom file.
- getOrCreateFragmentedMessage(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- getOutput() - Method in class com.vaadin.base.devserver.DevServerOutputTracker.Result
- getParentPomOfMultiModuleProject(File) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Gets the parent pom location for the given pom file, if the given pom file is part of a multi module project.
- getPathToVaadin() - Method in class com.vaadin.base.devserver.ViteHandler
-
Gets the url path to the /VAADIN folder.
- getPathToVaadinInContext() - Method in class com.vaadin.base.devserver.ViteHandler
-
Gets the url path to the /VAADIN folder inside the context root.
- getPort() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- getPort() - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
-
Gets always -1, as this handler does not start a server.
- getProjectRoot() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- getProjectRoot() - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- getReportingUrl() - Method in class com.vaadin.base.devserver.stats.StatisticsSender
-
Get the remote reporting URL.
- getServerBinary() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the binary that starts the dev server.
- getServerBinary() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerConfig() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the main configuration file for the dev server.
- getServerConfig() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerFailurePattern() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets a pattern to match with the output to determine that the server has failed to start.
- getServerFailurePattern() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerName() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the name of the dev server for outputting to the user and statistics.
- getServerName() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerRestartedPattern() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets a pattern to match with the output to determine that the server has been restarted.
- getServerRestartedPattern() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerRestartingPattern() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets a pattern to match with the output to determine that the server is restarting.
- getServerRestartingPattern() - Method in class com.vaadin.base.devserver.ViteHandler
- getServerStartupCommand(FrontendTools) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the commands to run to start the dev server.
- getServerStartupCommand(FrontendTools) - Method in class com.vaadin.base.devserver.ViteHandler
- getServerSuccessPattern() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets a pattern to match with the output to determine that the server has started successfully.
- getServerSuccessPattern() - Method in class com.vaadin.base.devserver.ViteHandler
- getService() - Method in class com.vaadin.base.devserver.hotswap.HotswapCompleteEvent
-
Gets the Vaadin service.
- getUIUpdateStrategy(UI) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Retrieves the UI update strategy for a specific UI, or the global UI update strategy if none is set for the given UI.
- getUIUpdateStrategy(UI) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Retrieves the UI update strategy for a specific UI, or the global UI update strategy if none is set for the given UI.
- getUIUpdateStrategy(UI) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Retrieves the UI update strategy for a specific UI, or the global UI update strategy if none is set for the given UI.
- getUserKey() - Static method in class com.vaadin.base.devserver.stats.ProjectHelpers
-
Gets the generated user id.
- getVaadinService() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Retrieves the active instance of
VaadinServiceassociated with the event. - getVaadinService() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Retrieves the active instance of
VaadinServiceassociated with the event. - getVaadinService() - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Retrieves the active instance of
VaadinServiceassociated with the event. - getVaadinSession() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Retrieves the associated
VaadinSessionfor this event. - getValue(String) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Returns the given field value as a string.
- getValueAsDouble(String) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Returns the given field value as a double.
- getVersions() - Method in class com.vaadin.base.devserver.ServerInfo
- getWatchDog() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Gets the server watch dog.
H
- handleBrowserData(JsonNode) - Static method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Stores telemetry data received from the browser.
- handleConnect(DevToolsInterface) - Method in interface com.vaadin.base.devserver.DevToolsMessageHandler
-
Called when a browser connects.
- handleDisconnect(DevToolsInterface) - Method in interface com.vaadin.base.devserver.DevToolsMessageHandler
-
Called when the browser connection disconnects.
- handleMessage(String, JsonNode, DevToolsInterface) - Method in interface com.vaadin.base.devserver.DevToolsMessageHandler
-
Called when a message from the browser arrives.
- handleRequest(VaadinSession, VaadinRequest, VaadinResponse) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- handleRequest(VaadinSession, VaadinRequest, VaadinResponse) - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- hashCode() - Method in class com.vaadin.base.devserver.DebugWindowConnection.DevToolsInterfaceImpl
- hashCode() - Method in record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Returns a hash code value for this object.
- HotswapClassEvent - Class in com.vaadin.base.devserver.hotswap
-
Event object passed to
VaadinHotswapperimplementations during hotswap processing of Java classes. - HotswapClassEvent(VaadinService, Set<Class<?>>, boolean) - Constructor for class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Creates a new hotswap class event.
- HotswapClassSessionEvent - Class in com.vaadin.base.devserver.hotswap
-
Event object passed to
VaadinHotswapperimplementations during hotswap processing of Java classes for a specificVaadinSession. - HotswapClassSessionEvent(VaadinService, VaadinSession, Set<Class<?>>, boolean) - Constructor for class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Creates a new hotswap class event.
- HotswapCompleteEvent - Class in com.vaadin.base.devserver.hotswap
-
Event fired when hotswap has been completed.
- HotswapCompleteEvent(VaadinService, Set<Class<?>>, boolean) - Constructor for class com.vaadin.base.devserver.hotswap.HotswapCompleteEvent
- Hotswapper - Class in com.vaadin.base.devserver.hotswap
-
Entry point for application classes hot reloads.
- HotswapResourceEvent - Class in com.vaadin.base.devserver.hotswap
-
Event object passed to
VaadinHotswapperimplementations during hotswap processing of resources. - HotswapResourceEvent(VaadinService, Set<URI>) - Constructor for class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Creates a new hotswap class event.
I
- ide() - Method in record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Returns the value of the
iderecord component. - IdeAndProcessInfo(OpenInCurrentIde.Ide, ProcessHandle.Info) - Constructor for record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Creates an instance of a
IdeAndProcessInforecord class. - increment(String) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Increments the value for the given field.
- init(VaadinContext, ViteHandler) - Static method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketEndpoint
-
Creates the websocket endpoint that Vite connects to.
- init(File, StatisticsStorage, StatisticsSender) - Static method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Initialize the statistics module.
- initDevModeHandler(Set<Class<?>>, VaadinContext) - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- initDevModeHandler(Set<Class<?>>, VaadinContext, Executor) - Static method in class com.vaadin.base.devserver.startup.DevModeInitializer
-
Initialize the devmode server if not in production mode or compatibility mode.
- initialize(Set<Class<?>>, VaadinContext) - Method in class com.vaadin.base.devserver.startup.DevModeStartupListener
- INTELLIJ - Enum constant in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
- isDevModeAlreadyStarted(VaadinContext) - Static method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
-
Shows whether
DevModeHandlerhas been already started or not. - isForcedPageReload(VaadinService) - Static method in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Gets whether a forced full page reload is triggered on class changes.
- isLiveReload(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- isRedefined() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Determines if the classes have been redefined by the hotswap mechanism.
- isRedefined() - Method in class com.vaadin.base.devserver.hotswap.HotswapCompleteEvent
-
Checks if the classes were redefined (as opposed to being new classes).
- isSuccess() - Method in class com.vaadin.base.devserver.DevServerOutputTracker.Result
L
- launchBrowserInDevelopmentMode(String) - Method in class com.vaadin.base.devserver.BrowserLauncher
-
Open the given URL in the default browser.
- launchBrowserInDevelopmentMode(String) - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- LOGGER - Static variable in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
M
- main(String[]) - Static method in class com.vaadin.base.devserver.OpenInCurrentIde
- MavenUtils - Class in com.vaadin.base.devserver
-
Utilities for Maven based projects.
N
- name() - Method in record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Returns the value of the
namerecord component. - NameAndVersion(String, String) - Constructor for record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Creates an instance of a
NameAndVersionrecord class. - NamedDaemonThreadFactory - Class in com.vaadin.base.devserver
-
A factory for creating daemon threads with custom naming conventions, used to generate threads with a predefined naming pattern.
- NamedDaemonThreadFactory(String) - Constructor for class com.vaadin.base.devserver.NamedDaemonThreadFactory
-
Constructs a new
NamedDaemonThreadFactorywith the specified name prefix for the threads created by this factory. - newThread(Runnable) - Method in class com.vaadin.base.devserver.NamedDaemonThreadFactory
- normalizeUrl(String) - Static method in class com.vaadin.base.devserver.PublicStyleSheetBundler
-
Normalize an incoming stylesheet URL from @StyleSheet into a relative path under the servlet context.
O
- onClassesChange(HotswapClassEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.ReflectionCacheHotswapper
- onClassesChange(HotswapClassEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.RouteRegistryHotswapper
-
Updates both application registry, to reflect provided class changes.
- onClassesChange(HotswapClassEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
- onClassesChange(HotswapClassEvent) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Called by Vaadin hotswap entry point when one or more application classes have been updated.
- onClassesChange(HotswapClassSessionEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.RouteRegistryHotswapper
- onClassesChange(HotswapClassSessionEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
- onClassesChange(HotswapClassSessionEvent) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Called by Vaadin hotswap entry point when one or more application classes have been updated.
- onClassLoadEvent(VaadinService, Set<Class<?>>, boolean) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Deprecated, for removal: This API element is subject to removal in a future version.
- onClassLoadEvent(VaadinSession, Set<Class<?>>, boolean) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Deprecated, for removal: This API element is subject to removal in a future version.As of 25.0, replaced by
VaadinHotswapper.onClassesChange(HotswapClassSessionEvent). Please consider moving your implementation to that method. - onClose(Session, CloseReason) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketEndpoint
- onClose(WebSocket, int, String) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
- onConnect(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- onDevServerCompilation(DevServerOutputTracker.Result) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Called whenever the dev server output matche the success or failure pattern.
- onDisconnect(AtmosphereResource) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- onError(WebSocket, Throwable) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
- onHotswap(String[], Boolean) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Called by hotswap tools when one or more application classes have been updated.
- onHotswap(URI[], URI[], URI[]) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Called by hotswap tools when one or more application resources have been changed.
- onHotswapComplete(HotswapCompleteEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
- onHotswapComplete(HotswapCompleteEvent) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Called by Vaadin hotswap entry point after all hotswap related operations have been completed.
- onInit(VaadinService) - Method in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
- onInit(VaadinService) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Called during the initialization of the Vaadin
Hotswapper. - onMessage(String) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketProxy
- onMessage(AtmosphereResource, String) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- onOpen(Session, EndpointConfig) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketEndpoint
- onOpen(WebSocket) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
- onResourcesChange(HotswapResourceEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.DefaultTranslationsHotswapper
- onResourcesChange(HotswapResourceEvent) - Method in class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
- onResourcesChange(HotswapResourceEvent) - Method in interface com.vaadin.base.devserver.hotswap.VaadinHotswapper
-
Called by Vaadin hotswap entry point when one or more application resources have been updated.
- onText(WebSocket, CharSequence, boolean) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
- openFile(File, int) - Static method in class com.vaadin.base.devserver.OpenInCurrentIde
-
Opens the given file at the given line number in the IDE used to launch the current Java application.
- OpenInCurrentIde - Class in com.vaadin.base.devserver
-
Util for opening a file in the currently used IDE.
- OpenInCurrentIde.Ide - Enum Class in com.vaadin.base.devserver
- OpenInCurrentIde.IdeAndProcessInfo - Record Class in com.vaadin.base.devserver
- OTHER - Enum constant in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
P
- parsePomFile(File) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Parses the given pom file.
- parsePomFileFromFolder(File) - Static method in class com.vaadin.base.devserver.MavenUtils
-
Parses the pom file in the given folder.
- prepareConnection(String, String) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- prepareConnection(String, String) - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- prepareConnection(String, String) - Method in class com.vaadin.base.devserver.ViteHandler
- processInfo() - Method in record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Returns the value of the
processInforecord component. - ProjectHelpers - Class in com.vaadin.base.devserver.stats
-
Helper methods for extracting and updating project statistics data.
- PublicResourcesLiveUpdater - Class in com.vaadin.base.devserver
-
Watches source public resource folders for CSS changes and pushes updates to the browser via the debug window connection.
- PublicResourcesLiveUpdater(List<String>, VaadinContext) - Constructor for class com.vaadin.base.devserver.PublicResourcesLiveUpdater
-
Starts watching the given list of source folders for CSS changes.
- PublicStyleSheetBundler - Class in com.vaadin.base.devserver
-
Utility that resolves and bundles public stylesheet resources referenced by
@StyleSheetURLs, in development time.
R
- ReflectionCacheHotswapper - Class in com.vaadin.base.devserver.hotswap.impl
-
Clears all mappings from all reflection caches and related resources when one or more classes has been changed.
- ReflectionCacheHotswapper() - Constructor for class com.vaadin.base.devserver.hotswap.impl.ReflectionCacheHotswapper
- refresh(boolean) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- REFRESH - Enum constant in enum class com.vaadin.base.devserver.hotswap.UIUpdateStrategy
-
Performs a partial UI refresh without reloading the entire page.
- register(VaadinService) - Static method in class com.vaadin.base.devserver.hotswap.Hotswapper
-
Register the hotwsapper entry point for the given
VaadinService. - registerShutdownCommand(Command) - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- reload() - Method in class com.vaadin.base.devserver.DebugWindowConnection
- RELOAD - Enum constant in enum class com.vaadin.base.devserver.hotswap.UIUpdateStrategy
-
Performs a full browser page reload.
- requiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Determines whether a full page reload is required based on the current global UI update strategy.
- requiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Determines whether a full page reload is required based on the current global UI update strategy.
- requiresPageReload() - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Determines whether a full page reload is required based on the current global UI update strategy.
- resolveVaadinHomeDirectory() - Static method in class com.vaadin.base.devserver.stats.ProjectHelpers
-
Get Vaadin home directory.
- RouteRegistryHotswapper - Class in com.vaadin.base.devserver.hotswap.impl
-
A component that reacts on class changes to update route registries.
- RouteRegistryHotswapper() - Constructor for class com.vaadin.base.devserver.hotswap.impl.RouteRegistryHotswapper
S
- send(String) - Method in class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
-
Sends the given message to the Vite server.
- send(String, Object) - Method in class com.vaadin.base.devserver.DebugWindowConnection.DevToolsInterfaceImpl
- send(String, Object) - Method in interface com.vaadin.base.devserver.DevToolsInterface
-
Sends the given message to the client side.
- sendHmrEvent(String, JsonNode) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- sendHmrEvent(String, JsonNode) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Sends a Hot Module Replacement (HMR) message to the client.
- sendHmrEvent(String, JsonNode) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Sends a Hot Module Replacement (HMR) message to the client.
- sendHmrEvent(String, JsonNode) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Sends a Hot Module Replacement (HMR) message to the client.
- serveDevModeRequest(HttpServletRequest, HttpServletResponse) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Serve a file by proxying to the dev server.
- serveDevModeRequest(HttpServletRequest, HttpServletResponse) - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- ServerInfo - Class in com.vaadin.base.devserver
-
Data for a info message to the debug window.
- ServerInfo() - Constructor for class com.vaadin.base.devserver.ServerInfo
-
Creates a new instance.
- ServerInfo.NameAndVersion - Record Class in com.vaadin.base.devserver
- serverRestartGuard(Pattern, Pattern) - Method in class com.vaadin.base.devserver.DevServerOutputTracker
-
Gets a guard object that blocks the current request to dev-server when dev-server is performing a restart operation.
- serviceDestroy(ServiceDestroyEvent) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
- sessionDestroy(SessionDestroyEvent) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
- sessionInit(SessionInitEvent) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
- set(String, String) - Method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Set value of string value in current project statistics data.
- setApplicationUrl(String) - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- setBackend(BrowserLiveReload.Backend) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- setDevModeHandler(DevModeHandler) - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- setGlobal(String, String) - Method in class com.vaadin.base.devserver.stats.DevModeUsageStatistics
-
Set value of string field in current statistics data.
- setValue(String, long) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Stores a long using the given field name.
- setValue(String, String) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Stores a string using the given field name.
- setValue(String, JsonNode) - Method in class com.vaadin.base.devserver.stats.StatisticsContainer
-
Stores a JSON object using the given field name.
- start() - Method in class com.vaadin.base.devserver.FileWatcher
-
Starts the file watching.
- StatisticsConstants - Class in com.vaadin.base.devserver.stats
-
Constants for development mode statistics.
- StatisticsContainer - Class in com.vaadin.base.devserver.stats
-
Wraps a JSON data structure and provides a slightly easier API for it.
- StatisticsContainer(ObjectNode) - Constructor for class com.vaadin.base.devserver.stats.StatisticsContainer
-
Wraps the given json with this API.
- StatisticsSender - Class in com.vaadin.base.devserver.stats
-
Handles sending of telemetry data.
- StatisticsSender(StatisticsStorage) - Constructor for class com.vaadin.base.devserver.stats.StatisticsSender
-
Creates a new instance connected to the given storage.
- StatisticsStorage - Class in com.vaadin.base.devserver.stats
-
Development more usage statistic storage and methods for updating the data.
- StatisticsStorage() - Constructor for class com.vaadin.base.devserver.stats.StatisticsStorage
-
Creates an instance.
- stop() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
- stop() - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
- stop() - Method in class com.vaadin.base.devserver.FileWatcher
-
Stops the file watching.
- stopDevModeHandler() - Method in class com.vaadin.base.devserver.DevModeHandlerManagerImpl
- StyleSheetHotswapper - Class in com.vaadin.base.devserver.hotswap.impl
-
Handles the automatic hotswapping of CSS resources and classes annotated with @StyleSheet, taking the appropriate actions to update stylesheets in the browser.
- StyleSheetHotswapper() - Constructor for class com.vaadin.base.devserver.hotswap.impl.StyleSheetHotswapper
T
- ThemeLiveUpdater - Class in com.vaadin.base.devserver
-
Watches the given theme folder for changes, combines the theme on changes and pushes the new version to the browser.
- ThemeLiveUpdater(File, VaadinContext) - Constructor for class com.vaadin.base.devserver.ThemeLiveUpdater
-
Starts watching the given theme folder (containing styles.css).
- toString() - Method in record class com.vaadin.base.devserver.OpenInCurrentIde.IdeAndProcessInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Returns a string representation of this record class.
- triggerSendIfNeeded(ObjectNode) - Method in class com.vaadin.base.devserver.stats.StatisticsSender
-
Send data in the background if needed.
- triggerUpdate(UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Sets the global UI update strategy for all UIs.
- triggerUpdate(UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Sets the global UI update strategy for all UIs.
- triggerUpdate(UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Sets the global UI update strategy for all UIs.
- triggerUpdate(UI, UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Sets the UI update strategy for a specific UI.
- triggerUpdate(UI, UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Sets the UI update strategy for a specific UI.
- triggerUpdate(UI, UIUpdateStrategy) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Sets the UI update strategy for a specific UI.
U
- uiInit(UIInitEvent) - Method in class com.vaadin.base.devserver.hotswap.Hotswapper
- UIUpdateStrategy - Enum Class in com.vaadin.base.devserver.hotswap
-
Strategy for updating the UI after a hotswap event.
- update(String, String) - Method in class com.vaadin.base.devserver.DebugWindowConnection
- updateClientResource(String, String) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
-
Updates a client-side resource for Hot Module Replacement (HMR).
- updateClientResource(String, String) - Method in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
-
Updates a client-side resource for Hot Module Replacement (HMR).
- updateClientResource(String, String) - Method in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
-
Updates a client-side resource for Hot Module Replacement (HMR).
- updateServerStartupEnvironment(FrontendTools, Map<String, String>) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Defines the environment variables to use when starting the dev server.
V
- VaadinHotswapper - Interface in com.vaadin.base.devserver.hotswap
-
Implementors of this interface are responsible for update Vaadin components when application classes change.
- vaadinService - Variable in class com.vaadin.base.devserver.hotswap.HotswapClassEvent
- vaadinService - Variable in class com.vaadin.base.devserver.hotswap.HotswapClassSessionEvent
- vaadinService - Variable in class com.vaadin.base.devserver.hotswap.HotswapResourceEvent
- validateFiles() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Validates that the needed server binary and config file(s) are available.
- valueOf(String) - Static method in enum class com.vaadin.base.devserver.hotswap.UIUpdateStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.base.devserver.hotswap.UIUpdateStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in record class com.vaadin.base.devserver.ServerInfo.NameAndVersion
-
Returns the value of the
versionrecord component. - VITE_HANDLER - Static variable in class com.vaadin.base.devserver.viteproxy.ViteWebsocketEndpoint
- ViteHandler - Class in com.vaadin.base.devserver
-
Handles communication with a Vite server.
- ViteHandler(Lookup, int, File, CompletableFuture<Void>) - Constructor for class com.vaadin.base.devserver.ViteHandler
-
Creates and starts the dev mode handler if none has been started yet.
- ViteWebsocketConnection - Class in com.vaadin.base.devserver.viteproxy
-
Communicates with a Vite server through a websocket connection.
- ViteWebsocketConnection(int, String, String, Consumer<String>, Runnable, Consumer<Throwable>) - Constructor for class com.vaadin.base.devserver.viteproxy.ViteWebsocketConnection
-
Established a connection with a Vite server running on the given port, using the given sub protocol.
- ViteWebsocketEndpoint - Class in com.vaadin.base.devserver.viteproxy
-
The websocket endpoint for Vite.
- ViteWebsocketEndpoint() - Constructor for class com.vaadin.base.devserver.viteproxy.ViteWebsocketEndpoint
- ViteWebsocketProxy - Class in com.vaadin.base.devserver.viteproxy
-
Connects a brower-server websocket connection with a server-Vite websocket connection.
- ViteWebsocketProxy(Session, Integer, String) - Constructor for class com.vaadin.base.devserver.viteproxy.ViteWebsocketProxy
-
Creates a new proxy for the given browser-server websocket connection.
- VSCODE - Enum constant in enum class com.vaadin.base.devserver.OpenInCurrentIde.Ide
W
- waitForDevBundle() - Method in class com.vaadin.base.devserver.DevBundleBuildingHandler
-
Waits for the dev bundle to be built.
- waitForDevServer() - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
-
Waits for the dev server to start.
- writeStream(ServletOutputStream, InputStream) - Method in class com.vaadin.base.devserver.AbstractDevServerRunner
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
VaadinHotswapper.onClassesChange(HotswapClassEvent). Please consider moving your implementation to that method.