Class JmixVaadinServletService.JmixServletBootstrapHandler

java.lang.Object
com.vaadin.server.SynchronizedRequestHandler
com.vaadin.server.BootstrapHandler
com.vaadin.server.communication.ServletBootstrapHandler
io.jmix.ui.sys.vaadin.JmixVaadinServletService.JmixServletBootstrapHandler
All Implemented Interfaces:
com.vaadin.server.RequestHandler, Serializable
Enclosing class:
JmixVaadinServletService

protected static class JmixVaadinServletService.JmixServletBootstrapHandler extends com.vaadin.server.communication.ServletBootstrapHandler
Add ability to redirect to base application URL if we have unparsable path tail
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.server.BootstrapHandler

    com.vaadin.server.BootstrapHandler.BootstrapContext, com.vaadin.server.BootstrapHandler.BootstrapUriResolver
  • Field Summary

    Fields inherited from class com.vaadin.server.BootstrapHandler

    IGNORE_RESTART_PARAM
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getMainDivAdditionalClassName(com.vaadin.server.BootstrapHandler.BootstrapContext context)
     
    boolean
    handleRequest(com.vaadin.server.VaadinSession session, com.vaadin.server.VaadinRequest request, com.vaadin.server.VaadinResponse response)
     

    Methods inherited from class com.vaadin.server.communication.ServletBootstrapHandler

    getContextRootPath, getServiceUrl, getThemeName

    Methods inherited from class com.vaadin.server.BootstrapHandler

    appendMainScriptTagContents, canHandleRequest, findAndEscapeThemeName, getApplicationParameters, getMainDivStyle, getThemeUri, getWidgetsetForUI, resolveFrontendUrl, synchronizedHandleRequest, writeError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JmixServletBootstrapHandler

      protected JmixServletBootstrapHandler()
  • 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
      Overrides:
      handleRequest in class com.vaadin.server.SynchronizedRequestHandler
      Throws:
      IOException
    • getMainDivAdditionalClassName

      @Nullable protected String getMainDivAdditionalClassName(com.vaadin.server.BootstrapHandler.BootstrapContext context)
      Overrides:
      getMainDivAdditionalClassName in class com.vaadin.server.BootstrapHandler