this object.
Headers which represents a mapping of key to value.
Duplicate keys may be allowed by implementations.
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: thisthe name of the header name, V the value of the header value)Adds a new header with the specified |
| public T | |
| public T | Returns: thisthe header name name, V... the values of the header values)Adds new headers with the specified |
| public T | |
| public T | Returns: thisthe header name name, boolean the value of the header value)Adds a new header. |
| public T | |
| public T | |
| public T | Returns: thisthe header name name, double the value of the header value)Adds a new header. |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | Returns: thisthe header name name, long the value of the header value)Adds a new header. |
| public T | |
| public boolean | |
| public boolean | contains(K
the header name name, V the header value of the header to find value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, boolean the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, byte the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, char the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, double the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, float the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, int the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, long the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, Object the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, short the header value value)Returns |
| public boolean | Returns: true if it contains it false otherwisethe header name name, long the header value value)Returns |
| public V | Returns: the first header value if the header is found.null if there's no such headerthe name of the header to retrieve name)Returns the value of a header with the specified name. |
| public V | Returns: the first header value ordefaultValue if there is no such headerthe name of the header to retrieve name, V the default value defaultValue)Returns the value of a header with the specified name. |
| public List | |
| public List | getAllAndRemove(K
the name of the header to retrieve name)Returns all values for the header with the specified name and removes them from this object. |
| public V | Returns: the first header value ornull if there is no such headerthe name of the header to retrieve name)Returns the value of a header with the specified name and removes it from this object. |
| public V | Returns: the first header value ordefaultValue if there is no such headerthe name of the header to retrieve name, V the default value defaultValue)Returns the value of a header with the specified name and removes it from this object. |
| public Boolean | Returns: theboolean value of the first value in insertion order or null if there is no such
value or it can't be converted to boolean.the name of the header to retrieve name)Returns the |
| public boolean | Returns: theboolean value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to boolean.the name of the header to retrieve name, boolean the default value defaultValue)Returns the |
| public Boolean | Returns: theboolean value of the first value in insertion order or null if there is no
such value or it can't be converted to boolean.the name of the header to retrieve name)Returns the |
| public boolean | Returns: theboolean value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to boolean.the name of the header to search name, boolean the default value defaultValue)Returns the |
| public Byte | Returns: thebyte value of the first value in insertion order or null if there is no such
value or it can't be converted to byte.the name of the header to retrieve name)Returns the |
| public byte | Returns: thebyte value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to byte.the name of the header to retrieve name, byte the default value defaultValue)Returns the |
| public Byte | Returns: thebyte value of the first value in insertion order or null if there is no
such value or it can't be converted to byte.the name of the header to search name)Returns the |
| public byte | Returns: thebyte value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to byte.the name of the header to search name, byte the default value defaultValue)Returns the |
| public Character | Returns: thechar value of the first value in insertion order or null if there is no such
value or it can't be converted to char.the name of the header to retrieve name)Returns the |
| public char | Returns: thechar value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to char.the name of the header to retrieve name, char the default value defaultValue)Returns the |
| public Character | Returns: thechar value of the first value in insertion order or null if there is no
such value or it can't be converted to char.the name of the header to search name)Returns the |
| public char | Returns: thechar value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to char.the name of the header to search name, char the default value defaultValue)Returns the |
| public Double | Returns: thedouble value of the first value in insertion order or null if there is no such
value or it can't be converted to double.the name of the header to retrieve name)Returns the |
| public double | Returns: thedouble value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to double.the name of the header to retrieve name, double the default value defaultValue)Returns the |
| public Double | Returns: thedouble value of the first value in insertion order or null if there is no
such value or it can't be converted to double.the name of the header to search name)Returns the |
| public double | Returns: thedouble value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to double.the name of the header to search name, double the default value defaultValue)Returns the |
| public Float | Returns: thefloat value of the first value in insertion order or null if there is no such
value or it can't be converted to float.the name of the header to retrieve name)Returns the |
| public float | Returns: thefloat value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to float.the name of the header to retrieve name, float the default value defaultValue)Returns the |
| public Float | Returns: thefloat value of the first value in insertion order or null if there is no
such value or it can't be converted to float.the name of the header to search name)Returns the |
| public float | Returns: thefloat value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to float.the name of the header to search name, float the default value defaultValue)Returns the |
| public Integer | Returns: theint value of the first value in insertion order or null if there is no such
value or it can't be converted to int.the name of the header to retrieve name)Returns the |
| public int | Returns: theint value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to int.the name of the header to retrieve name, int the default value defaultValue)Returns the |
| public Integer | Returns: theint value of the first value in insertion order or null if there is no
such value or it can't be converted to int.the name of the header to search name)Returns the |
| public int | Returns: theint value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to int.the name of the header to search name, int the default value defaultValue)Returns the |
| public Long | Returns: thelong value of the first value in insertion order or null if there is no such
value or it can't be converted to long.the name of the header to retrieve name)Returns the |
| public long | Returns: thelong value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to long.the name of the header to retrieve name, long the default value defaultValue)Returns the |
| public Long | Returns: thelong value of the first value in insertion order or null if there is no
such value or it can't be converted to long.the name of the header to search name)Returns the |
| public long | Returns: thelong value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to long.the name of the header to search name, long the default value defaultValue)Returns the |
| public Short | Returns: theshort value of the first value in insertion order or null if there is no such
value or it can't be converted to short.the name of the header to retrieve name)Returns the |
| public short | Returns: theshort value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to short.the name of the header to retrieve name, short the default value defaultValue)Returns the |
| public Short | Returns: theshort value of the first value in insertion order or null if there is no
such value or it can't be converted to short.the name of the header to search name)Returns the |
| public short | Returns: theshort value of the first value in insertion order or defaultValue if there is no
such value or it can't be converted to short.the name of the header to search name, short the default value defaultValue)Returns the |
| public Long | Returns: the milliseconds value of the first value in insertion order ornull if there is no such
value or it can't be converted to milliseconds.the name of the header to retrieve name)Returns the value of a header with the specified name in milliseconds. |
| public long | Returns: the milliseconds value of the first value in insertion order ordefaultValue if there is no such
value or it can't be converted to milliseconds.the name of the header to retrieve name, long the default value defaultValue)Returns the value of a header with the specified name in milliseconds. |
| public Long | Returns: the milliseconds value of the first value in insertion order ornull if there is no such
value or it can't be converted to milliseconds.the name of the header to retrieve name)Returns the value of a header with the specified |
| public long | Returns: the milliseconds value of the first value in insertion order ordefaultValue if there is no such
value or it can't be converted to milliseconds.the name of the header to retrieve name, long the default value defaultValue)Returns the value of a header with the specified |
| public boolean | |
| public Iterator | |
| public Set | |
| public boolean | Returns: true if at least one entry has been removed.the header name name)Removes all headers with the specified |
| public T | Returns: thisthe header name name, V the value of the header value)Sets a header with the specified name and value. |
| public T | |
| public T | Returns: thisthe header name name, V... the value of the header values)Sets a header with the specified name and values. |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public T | |
| public int |