Package org.eclipse.jetty.http
Class HttpField.IntValueHttpField
java.lang.Object
org.eclipse.jetty.http.HttpField
org.eclipse.jetty.http.HttpField.IntValueHttpField
- Enclosing class:
- HttpField
A specialized HttpField
whose value is an int
.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http.HttpField
HttpField.IntValueHttpField, HttpField.LongValueHttpField
-
Field Summary
Fields inherited from class org.eclipse.jetty.http.HttpField
NAME_VALUE_TOKENIZER, PARAMETER_TOKENIZER
-
Constructor Summary
ConstructorDescriptionIntValueHttpField
(String header, int value) IntValueHttpField
(HttpHeader header, int value) IntValueHttpField
(HttpHeader header, String name, int intValue) IntValueHttpField
(HttpHeader header, String name, String value) IntValueHttpField
(HttpHeader header, String name, String value, int intValue) -
Method Summary
Methods inherited from class org.eclipse.jetty.http.HttpField
contains, contains, containsLast, containsLast, equals, getHeader, getLowerCaseName, getName, getValue, getValueList, getValueParameters, getValues, hashCode, is, isSameName, stripParameters, toString, valueParameters, withoutValue, withValue, withValues
-
Constructor Details
-
IntValueHttpField
-
IntValueHttpField
-
IntValueHttpField
-
IntValueHttpField
-
IntValueHttpField
-
-
Method Details
-
getIntValue
public int getIntValue()- Overrides:
getIntValue
in classHttpField
- Returns:
- the value of this field as an
int
-
getLongValue
public long getLongValue()- Overrides:
getLongValue
in classHttpField
- Returns:
- the value of this field as an
long
-