Class RestGetJobDetailsAction
java.lang.Object
org.opensearch.rest.BaseRestHandler
org.opensearch.jobscheduler.rest.action.RestGetJobDetailsAction
- All Implemented Interfaces:
org.opensearch.rest.RestHandler
public class RestGetJobDetailsAction
extends org.opensearch.rest.BaseRestHandler
This class consists of the REST handler to GET job details from extensions.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.rest.BaseRestHandler
org.opensearch.rest.BaseRestHandler.RestChannelConsumer, org.opensearch.rest.BaseRestHandler.StreamingRestChannelConsumer, org.opensearch.rest.BaseRestHandler.WrapperNested classes/interfaces inherited from interface org.opensearch.rest.RestHandler
org.opensearch.rest.RestHandler.DeprecatedRoute, org.opensearch.rest.RestHandler.ReplacedRoute, org.opensearch.rest.RestHandler.Route -
Field Summary
FieldsFields inherited from class org.opensearch.rest.BaseRestHandler
MULTI_ALLOW_EXPLICIT_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()protected org.opensearch.rest.BaseRestHandler.RestChannelConsumerprepareRequest(org.opensearch.rest.RestRequest restRequest, org.opensearch.transport.client.node.NodeClient client) List<org.opensearch.rest.RestHandler.Route> routes()Methods inherited from class org.opensearch.rest.BaseRestHandler
getUsageCount, handleRequest, parseDeprecatedMasterTimeoutParameter, responseParams, sendTask, unrecognized, unrecognizedStrings, validateAndGetPageParamsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.rest.RestHandler
allowsUnsafeBuffers, allowSystemIndexAccessByDefault, canTripCircuitBreaker, deprecatedRoutes, isActionPaginated, replacedRoutes, supportsContentStream, supportsStreaming
-
Field Details
-
GET_JOB_DETAILS_ACTION
- See Also:
-
jobDetailsService
-
-
Constructor Details
-
RestGetJobDetailsAction
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.opensearch.rest.BaseRestHandler
-
routes
-
prepareRequest
protected org.opensearch.rest.BaseRestHandler.RestChannelConsumer prepareRequest(org.opensearch.rest.RestRequest restRequest, org.opensearch.transport.client.node.NodeClient client) throws IOException - Specified by:
prepareRequestin classorg.opensearch.rest.BaseRestHandler- Throws:
IOException
-