Class RestHeaderDefinition

java.lang.Object
org.elasticsearch.rest.RestHeaderDefinition

public final class RestHeaderDefinition extends Object
A definition for an http header that should be copied to the ThreadContext when reading the request on the rest layer.
  • Constructor Details

    • RestHeaderDefinition

      public RestHeaderDefinition(String name, boolean multiValueAllowed)
  • Method Details

    • getName

      public String getName()
    • isMultiValueAllowed

      public boolean isMultiValueAllowed()