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 Details

    • JAVASCRIPT_EXTENSION

      protected static final String JAVASCRIPT_EXTENSION
      See Also:
    • CSS_EXTENSION

      protected static final String CSS_EXTENSION
      See Also:
    • OLD_WEBJAR_IDENTIFIER

      protected static final Pattern OLD_WEBJAR_IDENTIFIER
    • NEW_WEBJAR_IDENTIFIER

      protected static final Pattern NEW_WEBJAR_IDENTIFIER
    • WEB_JAR_PROPERTY_DEFAULT_VALUE_PATTERN

      protected static final Pattern WEB_JAR_PROPERTY_DEFAULT_VALUE_PATTERN
    • WEB_JAR_PREFIX

      protected static final String WEB_JAR_PREFIX
      See Also:
    • servletContext

      protected final javax.servlet.ServletContext servletContext
    • resolver

      protected WebJarResourceResolver 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 class com.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 class com.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 class com.vaadin.server.communication.UidlWriter
    • resolveTypeFromPath

      @Nullable protected com.vaadin.ui.Dependency.Type resolveTypeFromPath(String path)
    • getResourceActualPath

      protected String getResourceActualPath(String uri, String overridePath)
    • getWebJarResourcePath

      protected String getWebJarResourcePath(String webJar, String resource, String overridePath)
    • getWebJarStaticResourcePath

      @Nullable protected String getWebJarStaticResourcePath(@Nullable String overridePath, String resource)
    • processResourceUri

      protected String processResourceUri(String uri)