Package com.vaadin.copilot
Class RouteHandler
java.lang.Object
com.vaadin.copilot.RouteHandler
- All Implemented Interfaces:
CopilotCommand
Provides server side route information to the client.
-
Field Summary
Fields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID
-
Constructor Summary
ConstructorsConstructorDescriptionRouteHandler
(ProjectManager projectManager, VaadinServletContext context) Creates a new route handler. -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleMessage
(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.copilot.CopilotCommand
handleConnect
-
Constructor Details
-
RouteHandler
Creates a new route handler.- Parameters:
projectManager
- the project manager to usecontext
- the servlet context to use
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) - Specified by:
handleMessage
in interfaceCopilotCommand
-