Package io.jmix.ui.sys.vaadin
Class JmixUidlWriter
java.lang.Object
com.vaadin.server.communication.UidlWriter
io.jmix.ui.sys.vaadin.JmixUidlWriter
- All Implemented Interfaces:
Serializable
public class JmixUidlWriter
extends com.vaadin.server.communication.UidlWriter
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected org.springframework.core.env.Environment
protected static final String
protected static final Pattern
protected static final Pattern
protected WebJarResourceResolver
protected final javax.servlet.ServletContext
protected static final String
protected static final Pattern
-
Constructor Summary
ConstructorDescriptionJmixUidlWriter
(javax.servlet.ServletContext servletContext, WebJarResourceResolver resolver, org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalDependencies
(List<com.vaadin.ui.HasDependencies.ClientDependency> allDependencies, List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd) protected String
getResourceActualPath
(String uri, String overridePath) protected String
getWebJarResourcePath
(String webJar, String resource, String overridePath) protected String
getWebJarStaticResourcePath
(String overridePath, String resource) protected void
handleAdditionalDependencies
(List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd, List<com.vaadin.ui.Dependency> dependencies, com.vaadin.server.LegacyCommunicationManager manager) protected void
handleAdditionalDependencies
(List<Class<? extends com.vaadin.server.ClientConnector>> newConnectorTypes, com.vaadin.server.LegacyCommunicationManager manager, List<com.vaadin.ui.Dependency> dependencies) protected String
processResourceUri
(String uri) protected com.vaadin.ui.Dependency.Type
resolveTypeFromPath
(String path) Methods inherited from class com.vaadin.server.communication.UidlWriter
write, writePerformanceData
-
Field Details
-
JAVASCRIPT_EXTENSION
- See Also:
-
CSS_EXTENSION
- See Also:
-
OLD_WEBJAR_IDENTIFIER
-
NEW_WEBJAR_IDENTIFIER
-
WEB_JAR_PROPERTY_DEFAULT_VALUE_PATTERN
-
WEB_JAR_PREFIX
- See Also:
-
servletContext
protected final javax.servlet.ServletContext servletContext -
resolver
-
environment
protected org.springframework.core.env.Environment environment
-
-
Constructor Details
-
JmixUidlWriter
public JmixUidlWriter(javax.servlet.ServletContext servletContext, WebJarResourceResolver resolver, org.springframework.core.env.Environment environment)
-
-
Method Details
-
handleAdditionalDependencies
protected void handleAdditionalDependencies(List<Class<? extends com.vaadin.server.ClientConnector>> newConnectorTypes, com.vaadin.server.LegacyCommunicationManager manager, List<com.vaadin.ui.Dependency> dependencies) - Overrides:
handleAdditionalDependencies
in classcom.vaadin.server.communication.UidlWriter
-
addAdditionalDependencies
protected void addAdditionalDependencies(List<com.vaadin.ui.HasDependencies.ClientDependency> allDependencies, List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd) - Overrides:
addAdditionalDependencies
in classcom.vaadin.server.communication.UidlWriter
-
handleAdditionalDependencies
protected void handleAdditionalDependencies(List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd, List<com.vaadin.ui.Dependency> dependencies, com.vaadin.server.LegacyCommunicationManager manager) - Overrides:
handleAdditionalDependencies
in classcom.vaadin.server.communication.UidlWriter
-
resolveTypeFromPath
-
getResourceActualPath
-
getWebJarResourcePath
-
getWebJarStaticResourcePath
-
processResourceUri
-