class HttpManagement:
Plugin class to add the Management functionality to the HTTP server.
The management endpoint is registered at "__mgmt__".
The plugin depends on the HttpServer.HttpServer plugin, which is injected into this plugin by the acme.runtime.PluginManager.PluginManager.
The management endpoint will only be registered if the HttpServer.HttpServer plugin is loaded and the dependency can be resolved.
| Method | configure |
Configure the plugin based on the configuration settings. |
| Method | handle |
Handle a management request. This is used to control the CSE. |
| Method | start |
Start the management plugin. |
| Class Variable | http |
The injected HttpServer.HttpServer plugin instance is injected by the acme.runtime.PluginManager.PluginManager based on the declared dependency. The plugin will only be loaded if the HttpServer.HttpServer... |
| Class Variable | management |
Injected ManagementSupport instance. |
Configure the plugin based on the configuration settings.
| Parameters | |
config:Configuration | The configuration object. |
Handle a management request. This is used to control the CSE.
| Parameters | |
command:str | None | The management command to execute. If None, the request is rejected. |
param:str | None | An optional parameter for the management command. |
| Returns | |
Response | A response object. |
The injected HttpServer.HttpServer plugin instance is injected by the acme.runtime.PluginManager.PluginManager based on the declared dependency. The plugin will only be loaded if the HttpServer.HttpServer plugin is loaded.