Class Http3Fields
java.lang.Object
org.eclipse.jetty.http3.qpack.internal.metadata.Http3Fields
- All Implemented Interfaces:
Iterable<HttpField>
,Supplier<HttpFields>
,HttpFields
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http.HttpFields
HttpFields.ImmutableHttpFields, HttpFields.Mutable, HttpFields.MutableHttpFields
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EnumMap
<HttpMethod, PreEncodedHttpField> static final PreEncodedHttpField
static final PreEncodedHttpField
static final HttpField[]
static final PreEncodedHttpField
Fields inherited from interface org.eclipse.jetty.http.HttpFields
CONNECTION_CLOSE, CONNECTION_KEEPALIVE, CONTENT_LENGTH_0, EMPTY, EXPIRES_01JAN1970
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable copy of thisHttpFields
instance.getField
(int index) iterator()
listIterator
(int index) int
size()
stream()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.http.HttpFields
asString, contains, contains, contains, contains, contains, contains, containsLast, get, get, get, getCSV, getCSV, getDateField, getDateField, getField, getField, getFieldNames, getFieldNamesCollection, getFields, getFields, getLast, getLongField, getLongField, getQualityCSV, getQualityCSV, getQualityCSV, getValues, getValuesList, getValuesList, isEqualTo, listIterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
STATUSES
-
TE_TRAILERS
-
C_SCHEME_HTTP
-
C_SCHEME_HTTPS
-
C_METHODS
-
-
Constructor Details
-
Http3Fields
-
-
Method Details
-
asImmutable
Description copied from interface:HttpFields
Returns an immutable copy of this
HttpFields
instance.- Specified by:
asImmutable
in interfaceHttpFields
- Returns:
- a new immutable copy of this
HttpFields
instance
-
getField
Description copied from interface:HttpFields
Returns the
HttpField
at the givenindex
, ornull
if there is no field at the given index.- Specified by:
getField
in interfaceHttpFields
- Parameters:
index
- the index of theHttpField
- Returns:
- the
HttpField
at the givenindex
, ornull
if there is no field at the given index
-
size
public int size()- Specified by:
size
in interfaceHttpFields
- Returns:
- the number of
HttpField
s in this instance
-
stream
- Specified by:
stream
in interfaceHttpFields
- Returns:
- a sequential stream of the
HttpField
s in this instance
-
iterator
- Specified by:
iterator
in interfaceHttpFields
- Specified by:
iterator
in interfaceIterable<HttpField>
-
listIterator
- Specified by:
listIterator
in interfaceHttpFields
- Returns:
- an iterator over the
HttpField
s in thisHttpFields
starting at the given index. - See Also:
-