Class RestHeaderDefinition

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

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

    Constructors
    Constructor Description
    RestHeaderDefinition​(java.lang.String name, boolean multiValueAllowed)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()  
    boolean isMultiValueAllowed()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RestHeaderDefinition

      public RestHeaderDefinition​(java.lang.String name, boolean multiValueAllowed)
  • Method Details

    • getName

      public java.lang.String getName()
    • isMultiValueAllowed

      public boolean isMultiValueAllowed()