Uses of Enum Class
org.eclipse.jetty.http.HttpHeader
Package
Description
Jetty Http : Tools for Http processing
-
Uses of HttpHeader in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionprotected abstract HttpHeader
AuthenticationProtocolHandler.getAuthenticateHeader()
protected HttpHeader
ProxyAuthenticationProtocolHandler.getAuthenticateHeader()
protected HttpHeader
WWWAuthenticationProtocolHandler.getAuthenticateHeader()
protected abstract HttpHeader
AuthenticationProtocolHandler.getAuthorizationHeader()
protected HttpHeader
ProxyAuthenticationProtocolHandler.getAuthorizationHeader()
protected HttpHeader
WWWAuthenticationProtocolHandler.getAuthorizationHeader()
Authentication.HeaderInfo.getHeader()
ModifierConstructorDescriptionBasicResult
(URI uri, HttpHeader header, String user, String password) BasicResult
(URI uri, HttpHeader header, String user, String password, Charset charset) HeaderInfo
(HttpHeader header, String type, Map<String, String> params) SPNEGOResult
(URI uri, HttpHeader header, String token) -
Uses of HttpHeader in org.eclipse.jetty.http
Modifier and TypeFieldDescriptionstatic final Index<HttpHeader>
HttpHeader.CACHE
static final EnumSet<HttpHeader>
HttpHeader.CONTENT_HEADERS
static final EnumSet<HttpHeader>
HttpHeader.CONTENT_HEADERS_304
Modifier and TypeMethodDescriptionHttpField.getHeader()
Get theHttpHeader
of this field, ornull
.static HttpHeader
Returns the enum constant of this class with the specified name.static HttpHeader[]
HttpHeader.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault HttpFields.Mutable
HttpFields.Mutable.add
(HttpHeader header, long value) Adds a newHttpField
with the given name andlong
value.default HttpFields.Mutable
HttpFields.Mutable.add
(HttpHeader header, String value) Adds a newHttpField
with the given name and string value.default HttpFields.Mutable
HttpFields.Mutable.add
(HttpHeader header, HttpHeaderValue value) Adds a newHttpField
with the given name and value.default HttpFields.Mutable
HttpFields.Mutable.addCSV
(HttpHeader header, String... values) Adds the given value(s) to theHttpField
with the given name, encoding them as comma-separated if necessary, unless they are already present in existing fields with the same name.default HttpFields.Mutable
HttpFields.Mutable.computeField
(HttpHeader header, BiFunction<HttpHeader, List<HttpField>, HttpField> computeFn) Computes a single field for the givenHttpHeader
and for existing fields with the same header.default boolean
HttpFields.contains
(HttpHeader header) Returns whether this instance contains the given field name.default boolean
HttpFields.contains
(HttpHeader header, String value) Returns whether this instance contains the givenHttpHeader
with the given value.default boolean
HttpFields.containsLast
(HttpHeader header, String value) Look for a value as the last value in a possible multivalued field.default String
HttpFields.get
(HttpHeader header) Returns the encoded value of the first field with the given field name, ornull
if no such header is present.HttpFields.getCSV
(HttpHeader header, boolean keepQuotes) Returns all the values of all the fields with the given field name.default long
HttpFields.getDateField
(HttpHeader header) Returns the value of a date field as the number of milliseconds since the Unix Epoch, or -1 if no such field is present.byte[]
Http1FieldPreEncoder.getEncodedField
(HttpHeader header, String headerString, String value) byte[]
HttpFieldPreEncoder.getEncodedField
(HttpHeader header, String headerString, String value) default HttpField
HttpFields.getField
(HttpHeader header) Returns the firstHttpField
with the given field name, ornull
if no such field is present.HttpFields.getFields
(HttpHeader header) Returns all theHttpField
s with the given field name.default String
HttpFields.getLast
(HttpHeader header) Returns the encoded value of the last field with the given field name, ornull
if no such header is present.default long
HttpFields.getLongField
(HttpHeader header) Returns the value of a field as along
value, or -1 if no such field is present.HttpFields.getQualityCSV
(HttpHeader header) Returns all the values of all the fields with the given name, split and sorted in quality order usingQuotedQualityCSV
.HttpFields.getQualityCSV
(HttpHeader header, ToIntFunction<String> secondaryOrdering) Returns all the values of all the fields with the given name, split and sorted first in quality order and then optionally further sorted with the given function, usingQuotedQualityCSV
.HttpFields.getValuesList
(HttpHeader header) Returns a list of the encoded values of all the fields with the given name.static boolean
HttpHeaderValue.hasKnownValues
(HttpHeader header) default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, long value) Puts a newHttpField
with the given name andlong
value, with the semantic ofHttpFields.Mutable.put(HttpField)
.default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, String value) This method behaves likeHttpFields.Mutable.remove(HttpHeader)
when the givenvalue
isnull
, otherwise behaves likeHttpFields.Mutable.put(HttpField)
.default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, HttpHeaderValue value) This method behaves likeHttpFields.Mutable.remove(HttpHeader)
when the givenvalue
isnull
, otherwise behaves likeHttpFields.Mutable.put(HttpField)
.default HttpFields.Mutable
HttpFields.Mutable.putDate
(HttpHeader name, long date) Puts a new dateHttpField
with the given name anddate
value, with the semantic ofHttpFields.Mutable.put(HttpField)
.default HttpFields.Mutable
HttpFields.Mutable.remove
(HttpHeader header) Removes all the fields with the given name.Modifier and TypeMethodDescriptionstatic HttpFields.Mutable
HttpFields.build
(HttpFields fields, EnumSet<HttpHeader> removeFields) Returns a newHttpFields.Mutable
instance containing a copy of all theHttpField
s of the givenHttpFields
, removing theHttpField
s with the given names.default HttpFields.Mutable
HttpFields.Mutable.computeField
(HttpHeader header, BiFunction<HttpHeader, List<HttpField>, HttpField> computeFn) Computes a single field for the givenHttpHeader
and for existing fields with the same header.default boolean
HttpFields.contains
(EnumSet<HttpHeader> headers) Returns whether this instance contains at least one of the given field names.default HttpFields.Mutable
HttpFields.Mutable.remove
(EnumSet<HttpHeader> headers) Removes all the fields with the given names.ModifierConstructorDescriptionprotected
HostPortHttpField
(HttpHeader header, String name, String authority) HostPortHttpField
(HttpHeader header, String headerString, HostPort hostport) HttpField
(HttpHeader header, String value) Creates a newHttpField
with the givenHttpHeader
and value string.HttpField
(HttpHeader header, String name, String value) Creates a newHttpField
with the givenHttpHeader
, name string and value string.HttpField
(HttpHeader header, HttpHeaderValue value) Creates a newHttpField
with the givenHttpHeader
and 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) LongValueHttpField
(HttpHeader header, long value) LongValueHttpField
(HttpHeader header, String name, long value) LongValueHttpField
(HttpHeader header, String name, String value) LongValueHttpField
(HttpHeader header, String name, String value, long longValue) PreEncodedHttpField
(HttpHeader header, long value) PreEncodedHttpField
(HttpHeader header, String value) PreEncodedHttpField
(HttpHeader header, String name, String value) -
Uses of HttpHeader in org.eclipse.jetty.http2.hpack
Modifier and TypeMethodDescriptionHpackContext.get
(HttpHeader header) byte[]
HpackFieldPreEncoder.getEncodedField
(HttpHeader header, String name, String value) static HpackContext.Entry
HpackContext.getStatic
(HttpHeader header) static int
HpackContext.staticIndex
(HttpHeader header) -
Uses of HttpHeader in org.eclipse.jetty.http2.hpack.internal
Modifier and TypeMethodDescriptionprotected boolean
MetaDataBuilder.checkPseudoHeader
(HttpHeader header, Object value) ModifierConstructorDescriptionStaticTableHttpField
(HttpHeader header, String valueString, Object value) StaticTableHttpField
(HttpHeader header, String name, String valueString, Object value) -
Uses of HttpHeader in org.eclipse.jetty.http3.qpack
Modifier and TypeFieldDescriptionstatic final EnumSet<HttpHeader>
QpackEncoder.DO_NOT_HUFFMAN
static final EnumSet<HttpHeader>
QpackEncoder.DO_NOT_INDEX
static final EnumSet<HttpHeader>
QpackEncoder.NEVER_INDEX
Modifier and TypeMethodDescriptionbyte[]
QpackFieldPreEncoder.getEncodedField
(HttpHeader header, String name, String value) -
Uses of HttpHeader in org.eclipse.jetty.server.internal
-
Uses of HttpHeader in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionWebSocketHttpFieldsWrapper.put
(HttpHeader header, String value) WebSocketHttpFieldsWrapper.put
(HttpHeader header, HttpHeaderValue value)