Module org.elasticsearch.security
Class TransportBaseUpdateApiKeyAction<Request extends BaseUpdateApiKeyRequest,Response extends ActionResponse>
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.xpack.security.action.apikey.TransportBaseUpdateApiKeyAction<Request,Response>
- Direct Known Subclasses:
TransportBulkUpdateApiKeyAction,TransportUpdateApiKeyAction,TransportUpdateCrossClusterApiKeyAction
public abstract class TransportBaseUpdateApiKeyAction<Request extends BaseUpdateApiKeyRequest,Response extends ActionResponse>
extends TransportAction<Request,Response>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransportBaseUpdateApiKeyAction(String actionName, TransportService transportService, ActionFilters actionFilters, SecurityContext context) -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddoExecute(Task task, Request request, ActionListener<Response> listener) protected static UpdateApiKeyResponsetoSingleResponse(String apiKeyId, BulkUpdateApiKeyResponse response) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportBaseUpdateApiKeyAction
protected TransportBaseUpdateApiKeyAction(String actionName, TransportService transportService, ActionFilters actionFilters, SecurityContext context)
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classTransportAction<Request extends BaseUpdateApiKeyRequest,Response extends ActionResponse>
-
toSingleResponse
protected static UpdateApiKeyResponse toSingleResponse(String apiKeyId, BulkUpdateApiKeyResponse response) throws Exception - Throws:
Exception
-