Class Headers


  • public final class Headers
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Headers.HeadersBuilder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Headers()  
      Headers​(java.util.Map<java.lang.String,​java.lang.String> raw, java.lang.String encrypted)
      Creates a new Headers instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Headers.HeadersBuilder builder()  
      boolean equals​(java.lang.Object o)  
      java.lang.String getEncrypted()
      The encrypted headers to include in the forward request, as a JSON object with string values encrypted with JSON Web Encryption (JWE) (Optional, max 8192 characters)
      java.util.Map<java.lang.String,​java.lang.String> getRaw()
      The raw headers to include in the forward request (Required, max 16 characters)
      int hashCode()  
      void setEncrypted​(java.lang.String encrypted)
      The encrypted headers to include in the forward request, as a JSON object with string values encrypted with JSON Web Encryption (JWE) (Optional, max 8192 characters)
      void setRaw​(java.util.Map<java.lang.String,​java.lang.String> raw)
      The raw headers to include in the forward request (Required, max 16 characters)
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Headers

        public Headers​(java.util.Map<java.lang.String,​java.lang.String> raw,
                       java.lang.String encrypted)
        Creates a new Headers instance.
        Parameters:
        raw - The raw headers to include in the forward request (Required, max 16 characters)
        encrypted - The encrypted headers to include in the forward request, as a JSON object with string values encrypted with JSON Web Encryption (JWE) (Optional, max 8192 characters)
      • Headers

        public Headers()
    • Method Detail

      • getRaw

        public java.util.Map<java.lang.String,​java.lang.String> getRaw()
        The raw headers to include in the forward request (Required, max 16 characters)
      • getEncrypted

        public java.lang.String getEncrypted()
        The encrypted headers to include in the forward request, as a JSON object with string values encrypted with JSON Web Encryption (JWE) (Optional, max 8192 characters)
      • setRaw

        public void setRaw​(java.util.Map<java.lang.String,​java.lang.String> raw)
        The raw headers to include in the forward request (Required, max 16 characters)
      • setEncrypted

        public void setEncrypted​(java.lang.String encrypted)
        The encrypted headers to include in the forward request, as a JSON object with string values encrypted with JSON Web Encryption (JWE) (Optional, max 8192 characters)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object