public class CubaUidlWriter
extends com.vaadin.server.communication.UidlWriter
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CSS_EXTENSION |
protected static java.lang.String |
JAVASCRIPT_EXTENSION |
protected static java.util.regex.Pattern |
NEW_WEBJAR_IDENTIFIER |
protected static java.util.regex.Pattern |
OLD_WEBJAR_IDENTIFIER |
protected javax.servlet.ServletContext |
servletContext |
protected static java.lang.String |
WEB_JAR_PREFIX |
protected static java.util.regex.Pattern |
WEB_JAR_PROPERTY_DEFAULT_VALUE_PATTERN |
Constructor and Description |
---|
CubaUidlWriter(javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalDependencies(java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> allDependencies,
java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd) |
protected java.lang.String |
getResourceActualPath(java.lang.String uri,
java.lang.String overridePath) |
protected java.lang.String |
getWebJarResourcePath(java.lang.String webJar,
java.lang.String resource,
java.lang.String overridePath) |
protected java.lang.String |
getWebJarStaticResourcePath(java.lang.String overridePath,
java.lang.String resource) |
protected void |
handleAdditionalDependencies(java.util.List<java.lang.Class<? extends com.vaadin.server.ClientConnector>> newConnectorTypes,
com.vaadin.server.LegacyCommunicationManager manager,
java.util.List<com.vaadin.ui.Dependency> dependencies) |
protected void |
handleAdditionalDependencies(java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd,
java.util.List<com.vaadin.ui.Dependency> dependencies,
com.vaadin.server.LegacyCommunicationManager manager) |
protected java.lang.String |
processResourceUri(java.lang.String uri) |
protected com.vaadin.ui.Dependency.Type |
resolveTypeFromPath(java.lang.String path) |
protected static final java.lang.String JAVASCRIPT_EXTENSION
protected static final java.lang.String CSS_EXTENSION
protected static final java.util.regex.Pattern OLD_WEBJAR_IDENTIFIER
protected static final java.util.regex.Pattern NEW_WEBJAR_IDENTIFIER
protected static final java.util.regex.Pattern WEB_JAR_PROPERTY_DEFAULT_VALUE_PATTERN
protected static final java.lang.String WEB_JAR_PREFIX
protected final javax.servlet.ServletContext servletContext
public CubaUidlWriter(javax.servlet.ServletContext servletContext)
protected void handleAdditionalDependencies(java.util.List<java.lang.Class<? extends com.vaadin.server.ClientConnector>> newConnectorTypes, com.vaadin.server.LegacyCommunicationManager manager, java.util.List<com.vaadin.ui.Dependency> dependencies)
handleAdditionalDependencies
in class com.vaadin.server.communication.UidlWriter
protected void addAdditionalDependencies(java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> allDependencies, java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd)
addAdditionalDependencies
in class com.vaadin.server.communication.UidlWriter
protected void handleAdditionalDependencies(java.util.List<com.vaadin.ui.HasDependencies.ClientDependency> dependenciesToAdd, java.util.List<com.vaadin.ui.Dependency> dependencies, com.vaadin.server.LegacyCommunicationManager manager)
handleAdditionalDependencies
in class com.vaadin.server.communication.UidlWriter
@Nullable protected com.vaadin.ui.Dependency.Type resolveTypeFromPath(java.lang.String path)
protected java.lang.String getResourceActualPath(java.lang.String uri, java.lang.String overridePath)
protected java.lang.String getWebJarResourcePath(java.lang.String webJar, java.lang.String resource, java.lang.String overridePath)
protected java.lang.String getWebJarStaticResourcePath(java.lang.String overridePath, java.lang.String resource)
protected java.lang.String processResourceUri(java.lang.String uri)