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 classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionHttpField(HttpHeader header, String value) HttpField(HttpHeader header, String name, String value) HttpField(HttpHeader header, HttpHeaderValue value) -
Method Summary
-
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
-
hashCode
public int hashCode() -
equals
-