/** * Execute service delete. * * @param path * the path * @return result of the execution of the service */ @DELETE @Path("/{path:.*}") @ApiOperation("Execute Server Side JavaScript Resource") @ApiResponses({ @ApiResponse(code = 200, message = "Execution Result") }) public Response executeJavascriptServiceDelete(@PathParam("path") String path) { return executeJavascriptServiceGet(path); }
/** * Execute service put. * * @param path * the path * @return result of the execution of the service */ @PUT @Path("/{path:.*}") @ApiOperation("Execute Server Side JavaScript Resource") @ApiResponses({ @ApiResponse(code = 200, message = "Execution Result") }) public Response executeJavascriptServicePut(@PathParam("path") String path) { return executeJavascriptServiceGet(path); }
/** * Execute service post. * * @param path * the path * @return result of the execution of the service */ @POST @Path("/{path:.*}") @ApiOperation("Execute Server Side JavaScript Resource") @ApiResponses({ @ApiResponse(code = 200, message = "Execution Result") }) public Response executeJavascriptServicePost(@PathParam("path") String path) { return executeJavascriptServiceGet(path); }
/** * Execute service head. * * @param path * the path * @return result of the execution of the service */ @HEAD @Path("/{path:.*}") @ApiOperation("Execute Server Side JavaScript Resource") @ApiResponses({ @ApiResponse(code = 200, message = "Execution Result") }) public Response executeJavascriptServiceHead(@PathParam("path") String path) { return executeJavascriptServiceGet(path); }