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_ENVFields inherited from interface com.vaadin.copilot.CopilotCommand
KEY_CANCEL_REQ_ID, KEY_REQ_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleMessage(String command, elemental.json.JsonObject data, com.vaadin.base.devserver.DevToolsInterface devToolsInterface) Methods inherited from class com.vaadin.copilot.CopilotServerClient
buildRequest, getHttpClient, getLogger, getQueryURI, getServerBaseUrl, readValue, writeAsJsonStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, com.vaadin.base.devserver.DevToolsInterface devToolsInterface) - Specified by:
handleMessagein interfaceCopilotCommand
-