Class SystemShutdownResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.SystemShutdownResource
@RequiresAuthentication
@Path("/system/shutdown")
@Produces("application/json")
@Deprecated
public class SystemShutdownResource
extends RestResource
Deprecated.
shutting down the node using an API request is discouraged in favor of using a service manager to
control the server process.
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
ConstructorDescriptionSystemShutdownResource
(GracefulShutdown gracefulShutdown, ServerStatus serverStatus) Deprecated. -
Method Summary
Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
SystemShutdownResource
Deprecated.
-
-
Method Details
-
shutdown
Deprecated.
-