Class RouteCreator

java.lang.Object
com.vaadin.copilot.RouteCreator

public class RouteCreator extends Object
Handles creation of views for new routes.
  • Constructor Details

  • Method Details

    • createFlowView

      public void createFlowView(String route, AccessRequirement accessRequirement) throws IOException
      Creates a Flow view for the given route using the given access requirement.
      Parameters:
      route - the path to create a view for
      accessRequirement - the access requirement for the view
      Throws:
      IOException
    • createHillaView

      public void createHillaView(String route, AccessRequirement accessRequirement) throws IOException
      Creates a Hilla view for the given route using the given access requirement.
      Parameters:
      route - the path to create a view for
      accessRequirement - the access requirement for the view
      Throws:
      IOException