Interface ResponseHttpFields.Persistent

All Known Implementing Classes:
ResponseHttpFields.PersistentHttpField, ResponseHttpFields.PersistentPreEncodedHttpField
Enclosing class:
ResponseHttpFields

public static interface ResponseHttpFields.Persistent
A marker interface for HttpFields that cannot be removed or cleared from a ResponseHttpFields instance. Persistent fields are not immutable in the ResponseHttpFields and may be replaced with a different value. i.e. A Persistent field cannot be removed but can be overwritten.
  • Method Details

    • isPersistent

      static boolean isPersistent(HttpField field)
    • getOriginal

      HttpField getOriginal()
      Returns:
      the original persistent field set before any mutations