Class ExampleRestHandlerPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.example.resthandler.ExampleRestHandlerPlugin
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ActionPlugin
public class ExampleRestHandlerPlugin extends Plugin implements ActionPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.plugins.ActionPlugin
ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse> -
Constructor Summary
Constructors Constructor Description ExampleRestHandlerPlugin() -
Method Summary
Modifier and Type Method Description java.util.List<RestHandler>getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.ActionPlugin
getActionFilters, getActions, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
-
Constructor Details
-
ExampleRestHandlerPlugin
public ExampleRestHandlerPlugin()
-
-
Method Details
-
getRestHandlers
public java.util.List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)- Specified by:
getRestHandlersin interfaceActionPlugin
-