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.
-
Field Summary
Fields inherited from class org.eclipse.dirigible.commons.api.service.AbstractRestService
NO_LOGGED_IN_USER -
Constructor Summary
Constructors Constructor Description GraalVMJavascriptEngineDebugRestService() -
Method Summary
Methods inherited from class org.eclipse.dirigible.commons.api.service.AbstractRestService
createErrorResponse, createErrorResponseBadRequest, createErrorResponseForbidden, createErrorResponseInternalServerError, createErrorResponseNotFound, createErrorResponseUnauthorized
-
Constructor Details
-
GraalVMJavascriptEngineDebugRestService
public GraalVMJavascriptEngineDebugRestService()
-
-
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
Gets the type.- Specified by:
getTypein interfaceIRestService- Returns:
- the type
-
getLogger
protected org.slf4j.Logger getLogger()Gets the logger.- Specified by:
getLoggerin classAbstractRestService- Returns:
- the logger
-