| Modifier and Type | Field and Description |
|---|---|
| private Collection | |
| private int | |
| private Object[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public boolean | |
| public boolean | |
| public int | |
| public int | |
| public Iterable | |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public long | Returns: an opaque iterating cookie, or -1 if no iteration is possibleDo a fast iteration of this header map without creating any objects. |
| public long | Returns: an opaque iterating cookie, or -1 if no iteration is possibleDo a fast iteration of this header map without creating any objects, only considering non-empty header values. |
| public HeaderValues | Returns: the values object at this positionthe iteration cookie value cookie)Return the value at the current index in a fast iteration. |
| public long | Returns: the next cookie value, or -1L if iteration is donethe previous cookie value cookie)Find the next index in a fast iteration. |
| public long | Returns: the next cookie value, or -1L if iteration is donethe previous cookie value cookie)Find the next non-empty index in a fast iteration. |
| public HeaderValues | |
| public HeaderValues | |
| public String | |
| public String | |
| private HeaderValues | |
| private HeaderValues | |
| public String | |
| public String | |
| public Collection | |
| public String | |
| public String | |
| private HeaderValues | |
| private HeaderValues | |
| public int | |
| public Iterator | |
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public HeaderMap | |
| public Collection | |
| public Collection | |
| private HeaderValues | |
| private HeaderValues | |
| private void | |
| public int | |
| public String |
| headerNames | back to summary |
|---|---|
| private Collection<HttpString> headerNames | |
| size | back to summary |
|---|---|
| private int size | |
| table | back to summary |
|---|---|
| private Object[] table | |
| HeaderMap | back to summary |
|---|---|
| public HeaderMap() | |
| add | back to summary |
|---|---|
| public HeaderMap add(HttpString headerName, String headerValue) | |
| add | back to summary |
|---|---|
| public HeaderMap add(HttpString headerName, long headerValue) | |
| addAll | back to summary |
|---|---|
| public HeaderMap addAll(HttpString headerName, Collection<String> headerValues) | |
| addFirst | back to summary |
|---|---|
| public HeaderMap addFirst(final HttpString headerName, final String headerValue) | |
| addLast | back to summary |
|---|---|
| public HeaderMap addLast(final HttpString headerName, final String headerValue) | |
| clear | back to summary |
|---|---|
| public HeaderMap clear() | |
| contains | back to summary |
|---|---|
| public boolean contains(HttpString headerName) | |
| contains | back to summary |
|---|---|
| public boolean contains(String headerName) | |
| count | back to summary |
|---|---|
| public int count(HttpString headerName) | |
| count | back to summary |
|---|---|
| public int count(String headerName) | |
| eachValue | back to summary |
|---|---|
| public Iterable | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| fastIterate | back to summary |
|---|---|
| public long fastIterate() Do a fast iteration of this header map without creating any objects.
| |
| fastIterateNonEmpty | back to summary |
|---|---|
| public long fastIterateNonEmpty() Do a fast iteration of this header map without creating any objects, only considering non-empty header values.
| |
| fiCurrent | back to summary |
|---|---|
| public HeaderValues fiCurrent(long cookie) Return the value at the current index in a fast iteration.
| |
| fiNext | back to summary |
|---|---|
| public long fiNext(long cookie) Find the next index in a fast iteration.
| |
| fiNextNonEmpty | back to summary |
|---|---|
| public long fiNextNonEmpty(long cookie) Find the next non-empty index in a fast iteration.
| |
| get | back to summary |
|---|---|
| public HeaderValues get(final HttpString headerName) | |
| get | back to summary |
|---|---|
| public HeaderValues get(final String headerName) | |
| get | back to summary |
|---|---|
| public String get(HttpString headerName, int index) throws IndexOutOfBoundsException | |
| get | back to summary |
|---|---|
| public String get(String headerName, int index) throws IndexOutOfBoundsException | |
| getEntry | back to summary |
|---|---|
| private HeaderValues getEntry(final HttpString headerName) | |
| getEntry | back to summary |
|---|---|
| private HeaderValues getEntry(final String headerName) | |
| getFirst | back to summary |
|---|---|
| public String getFirst(HttpString headerName) | |
| getFirst | back to summary |
|---|---|
| public String getFirst(String headerName) | |
| getHeaderNames | back to summary |
|---|---|
| public Collection | |
| getLast | back to summary |
|---|---|
| public String getLast(HttpString headerName) | |
| getLast | back to summary |
|---|---|
| public String getLast(String headerName) | |
| getOrCreateEntry | back to summary |
|---|---|
| private HeaderValues getOrCreateEntry(final HttpString headerName) | |
| getOrCreateNonEmpty | back to summary |
|---|---|
| private HeaderValues getOrCreateNonEmpty(HttpString headerName, Object[] table, int length, int idx, Object o) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| put | back to summary |
|---|---|
| public HeaderMap put(HttpString headerName, String headerValue) | |
| put | back to summary |
|---|---|
| public HeaderMap put(HttpString headerName, long headerValue) | |
| putAll | back to summary |
|---|---|
| public HeaderMap putAll(HttpString headerName, Collection<String> headerValues) | |
| putAll | back to summary |
|---|---|
| public HeaderMap putAll(HeaderMap headerMap) | |
| remove | back to summary |
|---|---|
| public Collection | |
| remove | back to summary |
|---|---|
| public Collection | |
| removeEntry | back to summary |
|---|---|
| private HeaderValues removeEntry(final HttpString headerName) | |
| removeEntry | back to summary |
|---|---|
| private HeaderValues removeEntry(final String headerName) | |
| resize | back to summary |
|---|---|
| private void resize() | |
| size | back to summary |
|---|---|
| public int size() | |
| 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- | |