java.lang.Object
org.elasticsearch.injection.guice.AbstractModule
org.elasticsearch.action.ActionModule
- All Implemented Interfaces:
 Module
Builds and binds the generic action map, all 
TransportActions, and ActionFilters.- 
Constructor Summary
ConstructorsConstructorDescriptionActionModule(Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, NamedWriteableRegistry namedWriteableRegistry, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices, TelemetryProvider telemetryProvider, ClusterService clusterService, RerouteService rerouteService, List<ReservedClusterStateHandler<?>> reservedStateHandlers, RestExtension restExtension, IncrementalBulkService bulkService)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidConfigures aBindervia the exposed methods.voidcopyRequestHeadersToThreadContext(HttpPreRequest request, ThreadContext threadContext) Certain request header values need to be copied in the thread context under which request handlers are to be dispatched.voidinitRestHandlers(Supplier<DiscoveryNodes> nodesInCluster, Predicate<NodeFeature> clusterSupportsFeature) Methods inherited from class org.elasticsearch.injection.guice.AbstractModule
bind, bind, binder, configure 
- 
Constructor Details
- 
ActionModule
public ActionModule(Settings settings, IndexNameExpressionResolver indexNameExpressionResolver, NamedWriteableRegistry namedWriteableRegistry, IndexScopedSettings indexScopedSettings, ClusterSettings clusterSettings, SettingsFilter settingsFilter, ThreadPool threadPool, List<ActionPlugin> actionPlugins, NodeClient nodeClient, CircuitBreakerService circuitBreakerService, UsageService usageService, SystemIndices systemIndices, TelemetryProvider telemetryProvider, ClusterService clusterService, RerouteService rerouteService, List<ReservedClusterStateHandler<?>> reservedStateHandlers, RestExtension restExtension, IncrementalBulkService bulkService)  
 - 
 - 
Method Details
- 
copyRequestHeadersToThreadContext
Certain request header values need to be copied in the thread context under which request handlers are to be dispatched. Careful that this method modifies the thread context. The thread context must be reinstated after the request handler finishes and returns. - 
getActions
 - 
initRestHandlers
public void initRestHandlers(Supplier<DiscoveryNodes> nodesInCluster, Predicate<NodeFeature> clusterSupportsFeature)  - 
configure
protected void configure()Description copied from class:AbstractModuleConfigures aBindervia the exposed methods.- Specified by:
 configurein classAbstractModule
 - 
getActionFilters
 - 
getRestController
 - 
getReservedClusterStateService
 
 -