java.lang.Object
org.elasticsearch.rest.FilterRestHandler
- All Implemented Interfaces:
RestHandler
- Direct Known Subclasses:
DeprecationRestHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.rest.RestHandler
RestHandler.Route -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanControls whether requests handled by this class are allowed to to access system indices by default.booleanReturns the concrete RestHandler for this RestHandler.protected RestHandlerbooleanmediaTypesValid(RestRequest request) routes()The list ofRestHandler.Routes that this RestHandler is responsible for handling.booleanIndicates if the RestHandler supports bulk content.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.rest.RestHandler
allSupportedParameters, getName, getServerlessScope, handleRequest, supportedCapabilities, supportedQueryParameters, supportsContentStream
-
Constructor Details
-
FilterRestHandler
-
-
Method Details
-
getDelegate
-
getConcreteRestHandler
Description copied from interface:RestHandlerReturns the concrete RestHandler for this RestHandler. That is, if this is a delegating RestHandler it returns the delegate. Otherwise it returns itself.- Specified by:
getConcreteRestHandlerin interfaceRestHandler- Returns:
- The underlying RestHandler
-
routes
Description copied from interface:RestHandlerThe list ofRestHandler.Routes that this RestHandler is responsible for handling.- Specified by:
routesin interfaceRestHandler
-
allowSystemIndexAccessByDefault
public boolean allowSystemIndexAccessByDefault()Description copied from interface:RestHandlerControls whether requests handled by this class are allowed to to access system indices by default.- Specified by:
allowSystemIndexAccessByDefaultin interfaceRestHandler- Returns:
trueif requests handled by this class should be allowed to access system indices.
-
canTripCircuitBreaker
public boolean canTripCircuitBreaker()- Specified by:
canTripCircuitBreakerin interfaceRestHandler
-
supportsBulkContent
public boolean supportsBulkContent()Description copied from interface:RestHandlerIndicates if the RestHandler supports bulk content. A bulk request contains multiple objects delineated byXContent.bulkSeparator(). If a handler returns true this will affect the types of content that can be sent to this endpoint.- Specified by:
supportsBulkContentin interfaceRestHandler
-
mediaTypesValid
- Specified by:
mediaTypesValidin interfaceRestHandler
-