Interface ResponseHttpFields.Persistent
- All Known Implementing Classes:
ResponseHttpFields.PersistentHttpField
,ResponseHttpFields.PersistentPreEncodedHttpField
- Enclosing class:
- ResponseHttpFields
public static interface ResponseHttpFields.Persistent
A marker interface for
HttpField
s 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 Summary
-
Method Details
-
isPersistent
-
getOriginal
HttpField getOriginal()- Returns:
- the original persistent field set before any mutations
-