Class GraalVMJavascriptEngineDebugRestService

java.lang.Object
org.eclipse.dirigible.commons.api.service.AbstractRestService
org.eclipse.dirigible.engine.js.graalvm.service.GraalVMJavascriptEngineDebugRestService
All Implemented Interfaces:
IRestService

@Path("/ide/debug/graalvm")
public class GraalVMJavascriptEngineDebugRestService
extends AbstractRestService
implements IRestService
Front facing REST service serving the GraalVM based Javascript backend services.
  • Constructor Details

  • Method Details

    • enable

      @GET @Path("/enable") @Produces("application/json") public javax.ws.rs.core.Response enable()
      Enable debugging.
      Returns:
      result of the execution of the service
    • disable

      @GET @Path("/disable") @Produces("application/json") public javax.ws.rs.core.Response disable()
      Disable debugging.
      Returns:
      result of the execution of the service
    • getType

      public Class<? extends IRestService> getType()
      Gets the type.
      Specified by:
      getType in interface IRestService
      Returns:
      the type
    • getLogger

      protected org.slf4j.Logger getLogger()
      Gets the logger.
      Specified by:
      getLogger in class AbstractRestService
      Returns:
      the logger