Package org.opensearch.action.main
Class TransportMainAction
java.lang.Object
org.opensearch.action.support.TransportAction<Request,Response>
org.opensearch.action.support.HandledTransportAction<MainRequest,MainResponse>
org.opensearch.action.main.TransportMainAction
public class TransportMainAction extends HandledTransportAction<MainRequest,MainResponse>
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Boolean>
OVERRIDE_MAIN_RESPONSE_VERSION
static java.lang.String
OVERRIDE_MAIN_RESPONSE_VERSION_DEPRECATION_MESSAGE
static java.lang.String
OVERRIDE_MAIN_RESPONSE_VERSION_KEY
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, logger, taskManager
-
Constructor Summary
Constructors Constructor Description TransportMainAction(Settings settings, TransportService transportService, ActionFilters actionFilters, ClusterService clusterService)
-
Method Summary
Modifier and Type Method Description protected void
doExecute(Task task, MainRequest request, ActionListener<MainResponse> listener)
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
OVERRIDE_MAIN_RESPONSE_VERSION_KEY
public static final java.lang.String OVERRIDE_MAIN_RESPONSE_VERSION_KEY- See Also:
- Constant Field Values
-
OVERRIDE_MAIN_RESPONSE_VERSION
-
OVERRIDE_MAIN_RESPONSE_VERSION_DEPRECATION_MESSAGE
public static final java.lang.String OVERRIDE_MAIN_RESPONSE_VERSION_DEPRECATION_MESSAGE- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransportMainAction
@Inject public TransportMainAction(Settings settings, TransportService transportService, ActionFilters actionFilters, ClusterService clusterService)
-
-
Method Details
-
doExecute
- Specified by:
doExecute
in classTransportAction<MainRequest,MainResponse>
-