@Path(value="clustering") @Produces(value="application/json") public class ClusterCommandManagementController extends AbstractManagementController
Constructor and Description |
---|
ClusterCommandManagementController() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getPublishedCommand(String commandId) |
javax.ws.rs.core.Response |
getPublishedCommands() |
javax.ws.rs.core.Response |
publishCommand(String marshaledCommand) |
sendCustomResponse, sendCustomResponse, sendCustomSuccessResponse, sendSuccessResponse
@GET @Path(value="command") public javax.ws.rs.core.Response getPublishedCommands()
@GET @Path(value="command/{commandId}") public javax.ws.rs.core.Response getPublishedCommand(@PathParam(value="commandId") String commandId)
@POST @Consumes(value="text/plain") @Path(value="command") public javax.ws.rs.core.Response publishCommand(String marshaledCommand)
Copyright © 2016–2019 AdroitLogic. All rights reserved.