@Path(value="server") @Produces(value="application/json") public class ServerManagementController extends AbstractManagementController
Constructor and Description |
---|
ServerManagementController() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
checkStatus() |
javax.ws.rs.core.Response |
getServerInfo() |
javax.ws.rs.core.Response |
shutdownServer() |
javax.ws.rs.core.Response |
shutdownServer(long waitTimeMillis) |
javax.ws.rs.core.Response |
startServer() |
javax.ws.rs.core.Response |
startServerMaintenance() |
javax.ws.rs.core.Response |
stopServer() |
javax.ws.rs.core.Response |
stopServerMaintenance() |
sendCustomResponse, sendCustomResponse, sendCustomSuccessResponse, sendSuccessResponse
@POST @Path(value="stop") public javax.ws.rs.core.Response stopServer()
@POST @Path(value="start") public javax.ws.rs.core.Response startServer()
@POST @Path(value="pause") public javax.ws.rs.core.Response startServerMaintenance()
@POST @Path(value="resume") public javax.ws.rs.core.Response stopServerMaintenance()
@POST @Path(value="shutdown") public javax.ws.rs.core.Response shutdownServer()
@POST @Path(value="gracefulShutdown/{waitTimeMillis}") public javax.ws.rs.core.Response shutdownServer(@PathParam(value="waitTimeMillis") long waitTimeMillis)
@GET @Path(value="status") public javax.ws.rs.core.Response checkStatus()
@GET @Path(value="info") public javax.ws.rs.core.Response getServerInfo()
Copyright © 2016–2019 AdroitLogic. All rights reserved.