Class LicenseApiAction

  • All Implemented Interfaces:
    org.elasticsearch.rest.RestHandler

    public class LicenseApiAction
    extends AbstractApiAction
    • Constructor Detail

      • LicenseApiAction

        protected LicenseApiAction​(org.elasticsearch.common.settings.Settings settings,
                                   Path configPath,
                                   org.elasticsearch.rest.RestController controller,
                                   org.elasticsearch.client.Client client,
                                   com.floragunn.searchguard.configuration.AdminDNs adminDNs,
                                   com.floragunn.searchguard.configuration.ConfigurationRepository cl,
                                   org.elasticsearch.cluster.service.ClusterService cs,
                                   com.floragunn.searchguard.ssl.transport.PrincipalExtractor principalExtractor,
                                   com.floragunn.searchguard.privileges.PrivilegesEvaluator evaluator,
                                   org.elasticsearch.threadpool.ThreadPool threadPool,
                                   com.floragunn.searchguard.auditlog.AuditLog auditLog)
    • Method Detail

      • handleGet

        protected void handleGet​(org.elasticsearch.rest.RestChannel channel,
                                 org.elasticsearch.rest.RestRequest request,
                                 org.elasticsearch.client.Client client,
                                 com.fasterxml.jackson.databind.JsonNode content)
                          throws IOException
        Overrides:
        handleGet in class AbstractApiAction
        Throws:
        IOException
      • handlePut

        protected void handlePut​(org.elasticsearch.rest.RestChannel channel,
                                 org.elasticsearch.rest.RestRequest request,
                                 org.elasticsearch.client.Client client,
                                 com.fasterxml.jackson.databind.JsonNode content)
                          throws IOException
        Overrides:
        handlePut in class AbstractApiAction
        Throws:
        IOException
      • handlePost

        protected void handlePost​(org.elasticsearch.rest.RestChannel channel,
                                  org.elasticsearch.rest.RestRequest request,
                                  org.elasticsearch.client.Client client,
                                  org.elasticsearch.common.settings.Settings.Builder additionalSettings)
                           throws IOException
        Throws:
        IOException