| Modifier and Type | Class and Description |
|---|---|
| public static interface | ResponseHttpFields.
A marker interface for |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private final HttpFields. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpFields. | add(HttpField
the field)HttpField to addOverrides default org. Adds the given |
| public HttpFields | asImmutable()
Overrides default org. Returns an immutable copy of this |
| public HttpFields. | clear()
Overrides default org. Removes all the fields from this instance. |
| public boolean | |
| public void | ensureField(HttpField
the field to ensure to be present field)Overrides default org. Ensures that the given |
| public HttpField | getField(String
the case-insensitive field name to search for name)Overrides default org. Returns the first |
| public HttpField | getField(HttpHeader
the field name to search for header)Overrides default org. Returns the first |
| public HttpField | getField(int
the index of the index)HttpFieldOverrides default org. Returns the |
| public HttpFields. | |
| public boolean | |
| public Iterator | iterator()
Overrides default org. Returns an iterator over elements of type |
| public ListIterator | |
| public void | |
| public int | |
| public Stream | |
| public String |
| _committed | back to summary |
|---|---|
| private final AtomicBoolean _committed | |
| _fields | back to summary |
|---|---|
| private final HttpFields. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| ResponseHttpFields | back to summary |
|---|---|
| public ResponseHttpFields() | |
| add | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. Adds the given
| |
| asImmutable | back to summary |
|---|---|
| public HttpFields asImmutable() Overrides default org. Doc from org. Returns an immutable copy of this
| |
| clear | back to summary |
|---|---|
| public HttpFields. Overrides default org. Doc from org. Removes all the fields from this instance.
| |
| commit | back to summary |
|---|---|
| public boolean commit() | |
| ensureField | back to summary |
|---|---|
| public void ensureField(HttpField field) Overrides default org. Doc from org. Ensures that the given Multiple existing | |
| getField | back to summary |
|---|---|
| public HttpField getField(String name) Overrides default org. Doc from org. Returns the first The comparison of field name is case-insensitive via
| |
| getField | back to summary |
|---|---|
| public HttpField getField(HttpHeader header) Overrides default org. Doc from org. Returns the first
| |
| getField | back to summary |
|---|---|
| public HttpField getField(int index) Overrides default org. Doc from org. Returns the | |
| getMutableHttpFields | back to summary |
|---|---|
| public HttpFields. | |
| isCommitted | back to summary |
|---|---|
| public boolean isCommitted() | |
| iterator | back to summary |
|---|---|
| public Iterator Overrides default org. Doc from java. Returns an iterator over elements of type | |
| listIterator | back to summary |
|---|---|
| public ListIterator Implements org.
| |
| recycle | back to summary |
|---|---|
| public void recycle() | |
| size | back to summary |
|---|---|
| public int size() Overrides default org.
| |
| stream | back to summary |
|---|---|
| public Stream Overrides default org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
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.
| Modifier and Type | Method and Description |
|---|---|
| public HttpField | |
| public static boolean |
| getOriginal | back to summary |
|---|---|
public HttpField getOriginal()
| |
| isPersistent | back to summary |
|---|---|
| public static boolean isPersistent(HttpField field) | |
HttpField that is a Persistent.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpField | |
| private final HttpField |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public long | |
| public HttpField |
| _field | back to summary |
|---|---|
| private final HttpField _field | |
| _original | back to summary |
|---|---|
| private final HttpField _original | |
| PersistentHttpField | back to summary |
|---|---|
| public PersistentHttpField(HttpField field) | |
| PersistentHttpField | back to summary |
|---|---|
| pack-priv PersistentHttpField(HttpField field, HttpField original) | |
| getIntValue | back to summary |
|---|---|
| public int getIntValue() Overrides org.
| |
| getLongValue | back to summary |
|---|---|
| public long getLongValue() Overrides org.
| |
| getOriginal | back to summary |
|---|---|
| public HttpField getOriginal() Implements org.
| |
PreEncodedHttpField that is a Persistent.
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public HttpField |
| _original | back to summary |
|---|---|
| private final HttpField _original | |
| PersistentPreEncodedHttpField | back to summary |
|---|---|
| public PersistentPreEncodedHttpField(HttpHeader header, String value) | |
| PersistentPreEncodedHttpField | back to summary |
|---|---|
| pack-priv PersistentPreEncodedHttpField(HttpHeader header, String value, HttpField original) | |
| getOriginal | back to summary |
|---|---|
| public HttpField getOriginal() Implements org.
| |