Class JmixWebJarsHandler

java.lang.Object
io.jmix.ui.sys.vaadin.JmixWebJarsHandler
All Implemented Interfaces:
com.vaadin.server.RequestHandler, Serializable

public class JmixWebJarsHandler extends Object implements com.vaadin.server.RequestHandler
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • handleRequest

      public boolean handleRequest(com.vaadin.server.VaadinSession session, com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response) throws IOException
      Specified by:
      handleRequest in interface com.vaadin.server.RequestHandler
      Throws:
      IOException
    • getResourceName

      protected String getResourceName(String uri)
    • browserHasNewestVersion

      protected boolean browserHasNewestVersion(com.vaadin.server.VaadinRequest request, long resourceLastModifiedTimestamp)
    • getStaticResourceUrl

      @Nullable protected URL getStaticResourceUrl(String path) throws IOException
      Throws:
      IOException
    • getClassPathResourceUrl

      @Nullable protected URL getClassPathResourceUrl(String path)
    • getCacheTime

      protected long getCacheTime()
    • checkResourcePath

      @Nullable protected String checkResourcePath(String uri)