Class RestIndicesAction
java.lang.Object
org.elasticsearch.rest.BaseRestHandler
org.elasticsearch.rest.action.cat.AbstractCatAction
org.elasticsearch.rest.action.cat.RestIndicesAction
- All Implemented Interfaces:
RestHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.rest.BaseRestHandler
BaseRestHandler.RestChannelConsumer, BaseRestHandler.WrapperNested classes/interfaces inherited from interface org.elasticsearch.rest.RestHandler
RestHandler.Route -
Field Summary
Fields inherited from class org.elasticsearch.rest.BaseRestHandler
DEFAULT_INCLUDE_TYPE_NAME_POLICY, INCLUDE_TYPE_NAME_PARAMETER, logger, MULTI_ALLOW_EXPLICIT_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanControls whether requests handled by this class are allowed to to access system indices by default.doCatRequest(RestRequest request, NodeClient client)protected voidgetName()protected TablegetTableWithHeader(RestRequest request)Parameters used for controlling the response and thus might not be consumed during preparation of the request execution inBaseRestHandler.prepareRequest(RestRequest, NodeClient).routes()The list ofRestHandler.Routes that this RestHandler is responsible for handling.Methods inherited from class org.elasticsearch.rest.action.cat.AbstractCatAction
prepareRequestMethods inherited from class org.elasticsearch.rest.BaseRestHandler
getUsageCount, handleRequest, unrecognizedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.rest.RestHandler
allowsUnsafeBuffers, canTripCircuitBreaker, supportsContentStream
-
Constructor Details
-
RestIndicesAction
public RestIndicesAction()
-
-
Method Details
-
routes
Description copied from class:BaseRestHandlerThe list ofRestHandler.Routes that this RestHandler is responsible for handling.- Specified by:
routesin interfaceRestHandler- Specified by:
routesin classBaseRestHandler
-
getName
- Specified by:
getNamein classBaseRestHandler- Returns:
- the name of this handler. The name should be human readable and
should describe the action that will performed when this API is
called. This name is used in the response to the
RestNodesUsageAction.
-
allowSystemIndexAccessByDefault
public boolean allowSystemIndexAccessByDefault()Description copied from interface:RestHandlerControls whether requests handled by this class are allowed to to access system indices by default.- Returns:
trueif requests handled by this class should be allowed to access system indices.
-
documentation
- Specified by:
documentationin classAbstractCatAction
-
doCatRequest
- Specified by:
doCatRequestin classAbstractCatAction
-
responseParams
Description copied from class:BaseRestHandlerParameters used for controlling the response and thus might not be consumed during preparation of the request execution inBaseRestHandler.prepareRequest(RestRequest, NodeClient).- Overrides:
responseParamsin classAbstractCatAction- Returns:
- a set of parameters used to control the response and thus should not trip strict URL parameter checks.
-
getTableWithHeader
- Specified by:
getTableWithHeaderin classAbstractCatAction
-