Module org.elasticsearch.security
Class RestGrantApiKeyAction.RequestTranslator.Default
java.lang.Object
org.elasticsearch.xpack.security.rest.action.apikey.RestGrantApiKeyAction.RequestTranslator.Default
- All Implemented Interfaces:
RestGrantApiKeyAction.RequestTranslator
- Enclosing interface:
RestGrantApiKeyAction.RequestTranslator
public static class RestGrantApiKeyAction.RequestTranslator.Default
extends Object
implements RestGrantApiKeyAction.RequestTranslator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.security.rest.action.apikey.RestGrantApiKeyAction.RequestTranslator
RestGrantApiKeyAction.RequestTranslator.Default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.elasticsearch.xcontent.ObjectParser<GrantApiKeyRequest, Void> createParser(CheckedBiFunction<String, org.elasticsearch.xcontent.XContentParser, RoleDescriptor, IOException> roleDescriptorParser) static GrantApiKeyRequestfromXContent(org.elasticsearch.xcontent.XContentParser parser) translate(RestRequest request)
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
createParser
protected static org.elasticsearch.xcontent.ObjectParser<GrantApiKeyRequest,Void> createParser(CheckedBiFunction<String, org.elasticsearch.xcontent.XContentParser, RoleDescriptor, IOException> roleDescriptorParser) -
translate
- Specified by:
translatein interfaceRestGrantApiKeyAction.RequestTranslator- Throws:
IOException
-
fromXContent
public static GrantApiKeyRequest fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-