Package com.vaadin.copilot
Class PreviewHandler
java.lang.Object
com.vaadin.copilot.CopilotServerClient
com.vaadin.copilot.PreviewHandler
- All Implemented Interfaces:
CopilotCommand
Copilot 3 day preview handler. It has two basic functionality that starts a
new preview and get the preview state.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.vaadin.copilot.CopilotServerClient
SERVER_URL_ENV
Fields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleMessage
(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) Methods inherited from class com.vaadin.copilot.CopilotServerClient
buildRequest, getHttpClient, getLogger, getQueryURI, getServerBaseUrl, readValue, writeAsJsonString
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
-
PreviewHandler
public PreviewHandler()
-
-
Method Details
-
handleMessage
public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface) - Specified by:
handleMessage
in interfaceCopilotCommand
-