Class RouteHandler

java.lang.Object
com.vaadin.copilot.RouteHandler
All Implemented Interfaces:
CopilotCommand

public class RouteHandler extends Object implements CopilotCommand
Provides server side route information to the client.
  • Constructor Details

    • RouteHandler

      public RouteHandler(ProjectManager projectManager, com.vaadin.flow.server.VaadinServletContext context)
      Creates a new route handler.
      Parameters:
      projectManager - the project manager to use
      context - the servlet context to use
  • Method Details

    • handleMessage

      public boolean handleMessage(String command, elemental.json.JsonObject data, com.vaadin.base.devserver.DevToolsInterface devToolsInterface)
      Specified by:
      handleMessage in interface CopilotCommand