Interface ResponseContext.Key

    • Method Detail

      • includeInHeader

        boolean includeInHeader()
        Whether to return the key, value pair in the response header. If false, the value is for internal use only.
      • mergeValues

        Object mergeValues​(Object oldValue,
                           Object newValue)
        Merges two values of type T.

        This method may modify "oldValue" but must not modify "newValue".

      • canDrop

        boolean canDrop()
        Returns true if this key can be removed to reduce header size when the header would otherwise be too large.