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
@Deprecated(since="2021-05-27") public class HttpField extends java.lang.Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.An HTTP Field
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpField.IntValueHttpField
Deprecated.static class
HttpField.LongValueHttpField
Deprecated.
-
Constructor Summary
Constructors Constructor Description HttpField(java.lang.String name, java.lang.String value)
Deprecated.HttpField(HttpHeader header, java.lang.String value)
Deprecated.HttpField(HttpHeader header, java.lang.String name, java.lang.String value)
Deprecated.HttpField(HttpHeader header, HttpHeaderValue value)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
contains(java.lang.String search)
Deprecated.Look for a value in a possible multi valued fieldboolean
equals(java.lang.Object o)
Deprecated.HttpHeader
getHeader()
Deprecated.int
getIntValue()
Deprecated.long
getLongValue()
Deprecated.java.lang.String
getLowerCaseName()
Deprecated.java.lang.String
getName()
Deprecated.java.lang.String
getValue()
Deprecated.java.lang.String[]
getValues()
Deprecated.int
hashCode()
Deprecated.boolean
is(java.lang.String name)
Deprecated.boolean
isSameName(HttpField field)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
HttpField
public HttpField(HttpHeader header, java.lang.String name, java.lang.String value)
Deprecated.
-
HttpField
public HttpField(HttpHeader header, java.lang.String value)
Deprecated.
-
HttpField
public HttpField(HttpHeader header, HttpHeaderValue value)
Deprecated.
-
HttpField
public HttpField(java.lang.String name, java.lang.String value)
Deprecated.
-
-
Method Detail
-
getHeader
public HttpHeader getHeader()
Deprecated.
-
getName
public java.lang.String getName()
Deprecated.
-
getLowerCaseName
public java.lang.String getLowerCaseName()
Deprecated.
-
getValue
public java.lang.String getValue()
Deprecated.
-
getIntValue
public int getIntValue()
Deprecated.
-
getLongValue
public long getLongValue()
Deprecated.
-
getValues
public java.lang.String[] getValues()
Deprecated.
-
contains
public boolean contains(java.lang.String search)
Deprecated.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
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
isSameName
public boolean isSameName(HttpField field)
Deprecated.
-
is
public boolean is(java.lang.String name)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
-