Package org.eclipse.jetty.http
Class HttpField
java.lang.Object
org.eclipse.jetty.http.HttpField
- Direct Known Subclasses:
HostPortHttpField
,HttpCookie.SetCookieHttpField
,HttpField.IntValueHttpField
,HttpField.LongValueHttpField
,PreEncodedHttpField
An HTTP Field
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HttpHeader
private final String
private final String
private int
private static final String
-
Constructor Summary
ConstructorsConstructorDescriptionHttpField
(HttpHeader header, String value) HttpField
(HttpHeader header, String name, String value) HttpField
(HttpHeader header, HttpHeaderValue value) -
Method Summary
-
Field Details
-
ZEROQUALITY
- See Also:
-
_header
-
_name
-
_value
-
hash
private int hash
-
-
Constructor Details
-
HttpField
-
HttpField
-
HttpField
-
HttpField
-
-
Method Details
-
getHeader
-
getName
-
getLowerCaseName
-
getValue
-
getIntValue
public int getIntValue() -
getLongValue
public long getLongValue() -
getValues
-
contains
Look for a value in a possible multi valued field- Parameters:
search
- Values to search for (case insensitive)- Returns:
- True iff the value is contained in the field value entirely or as an element of a quoted comma separated list. List element parameters (eg qualities) are ignored, except if they are q=0, in which case the item itself is ignored.
-
toString
-
isSameName
-
is
-
nameHashCode
private int nameHashCode() -
hashCode
public int hashCode() -
equals
-