Uses of Class
org.eclipse.jetty.http.HttpField
Package
Description
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
-
Uses of HttpField in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionContentDecoder.Factories.getAcceptEncodingField()
HttpClient.getUserAgentField()
Get the "User-Agent" HTTP field of this HttpClient.Modifier and TypeMethodDescriptionboolean
boolean
Callback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.default boolean
void
void
HttpClient.setUserAgentField
(HttpField agent) Set the "User-Agent" HTTP header string of this HttpClient. -
Uses of HttpField in org.eclipse.jetty.client.transport
Modifier and TypeMethodDescriptionboolean
ResponseListeners.notifyHeader
(Response response, HttpField field) protected void
HttpReceiver.responseHeader
(HttpExchange exchange, HttpField field) Method to be invoked when a response HTTP header is available.protected void
HttpReceiver.storeCookie
(URI uri, HttpField field) -
Uses of HttpField in org.eclipse.jetty.client.transport.internal
Modifier and TypeMethodDescriptionvoid
HttpReceiverOverHTTP.parsedHeader
(HttpField field) void
HttpReceiverOverHTTP.parsedTrailer
(HttpField trailer) -
Uses of HttpField in org.eclipse.jetty.fcgi.client.transport.internal
Modifier and TypeMethodDescriptionprotected void
HttpChannelOverFCGI.responseHeader
(HttpField field) protected void
HttpReceiverOverFCGI.responseHeader
(HttpExchange exchange, HttpField field) -
Uses of HttpField in org.eclipse.jetty.fcgi.parser
-
Uses of HttpField in org.eclipse.jetty.fcgi.server.internal
-
Uses of HttpField in org.eclipse.jetty.http
Modifier and TypeClassDescriptionclass
An HttpField holding a preparsed Host and port numberstatic class
A specializedHttpField
whose value is anint
.static class
A specializedHttpField
whose value is along
.class
Pre encoded HttpField.Modifier and TypeFieldDescriptionstatic final HttpField
HttpFields.CONNECTION_CLOSE
A constantHttpField
for the HTTP header:static final HttpField
HttpFields.CONNECTION_KEEPALIVE
A constantHttpField
for the HTTP header:static final HttpField
HttpFields.CONTENT_LENGTH_0
A constantHttpField
for the HTTP header:static final HttpField
HttpFields.EXPIRES_01JAN1970
A constantHttpField
for the HTTP header:Modifier and TypeFieldDescriptionHttpParser.CACHE
Cache of commonHttpField
s including: Common static combinations such as: Connection: close Accept-Encoding: gzip Content-Length: 0 Combinations of Content-Type header for common mime types by common charsets Most common headers with null values so that a lookup will at least determine the header name even if the name:value combination is not cachedModifier and TypeMethodDescriptionstatic HttpField
EtagUtils.createWeakEtagField
(Resource resource) Create a newHttpField
HttpHeader.ETAG
field suitable to represent the provided Resource.static HttpField
EtagUtils.createWeakEtagField
(Resource resource, String etagSuffix) Create a newHttpField
HttpHeader.ETAG
field suitable to represent the provided Resource.CompressedContentFormat.getContentEncoding()
MimeTypes.Type.getContentTypeField()
MimeTypes.Type.getContentTypeField
(Charset charset) default HttpField
HttpFields.getField
(int index) default HttpField
Returns the firstHttpField
with the given field name, ornull
if no such field is present.default HttpField
HttpFields.getField
(HttpHeader header) Returns the firstHttpField
with the given field name, ornull
if no such field is present.HttpFields.Mutable.Wrapper.onAddField
(HttpField field) Called when a field is added (including as part of a put).HttpFields.Mutable.Wrapper.onReplaceField
(HttpField oldField, HttpField newField) HttpField.withoutValue
(String value) Return aHttpField
without a given value (case-insensitive)Return aHttpField
with a given value (case-insensitive) ensuredHttpField.withValues
(String... values) Return aHttpField
with given values (case-insensitive) ensuredModifier and TypeMethodDescriptionHttpParser.getFieldCache()
Returns all theHttpField
s with the given field name.HttpFields.getFields
(HttpHeader header) Returns all theHttpField
s with the given field name.HttpFields.iterator()
MetaData.iterator()
default ListIterator<HttpField>
HttpFields.listIterator()
HttpFields.listIterator
(int index) HttpFields.Mutable.Wrapper.listIterator
(int index) HttpFields.Mutable.Wrapper.stream()
HttpFields.stream()
Modifier and TypeMethodDescriptiondefault HttpFields.Mutable
Adds the givenHttpField
to this instance.static HttpFields.Mutable
HttpFields.build
(HttpFields fields, HttpField replaceField) Returns a newHttpFields.Mutable
instance containing a copy of all theHttpField
s of the givenHttpFields
, replacing with the givenHttpField
all the fieldsHttpField
s with the same name.default boolean
Returns whether this instance contains the givenHttpField
.default void
HttpFields.Mutable.ensureField
(HttpField field) Ensures that the givenHttpField
is present when the field may not exist or may exist and be multi-valued.static HttpFields
Returns an immutableHttpFields
instance containing the givenHttpField
s.boolean
HttpField.isSameName
(HttpField field) Returns whether this field has the same name as the given field.HttpFields.Mutable.Wrapper.onAddField
(HttpField field) Called when a field is added (including as part of a put).boolean
HttpFields.Mutable.Wrapper.onRemoveField
(HttpField field) Called when a field is removed (including as part of a put).HttpFields.Mutable.Wrapper.onReplaceField
(HttpField oldField, HttpField newField) void
HttpParser.HttpHandler.parsedHeader
(HttpField field) This is the method called by parser when an HTTP Header name and value is foundvoid
HttpTester.Message.parsedHeader
(HttpField field) default void
HttpParser.HttpHandler.parsedTrailer
(HttpField field) This is the method called by parser when an HTTP Trailer name and value is founddefault HttpFields.Mutable
Puts the givenHttpField
into this instance.static void
HttpGenerator.putTo
(HttpField field, ByteBuffer bufferInFillMode) Modifier and TypeMethodDescriptiondefault HttpFields.Mutable
HttpFields.Mutable.computeField
(String name, BiFunction<String, List<HttpField>, HttpField> computeFn) Computes a single field for the given HTTP field name and for existing fields with the same name.default HttpFields.Mutable
HttpFields.Mutable.computeField
(String name, BiFunction<String, List<HttpField>, HttpField> computeFn) Computes a single field for the given HTTP field name and for 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 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.ModifierConstructorDescriptionprotected
ImmutableHttpFields
(HttpField[] fields, int size) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of HttpField in org.eclipse.jetty.http.content
Modifier and TypeMethodDescriptionCachingHttpContentFactory.NotFoundHttpContent.getContentEncoding()
HttpContent.getContentEncoding()
HttpContent.Wrapper.getContentEncoding()
PreCompressedHttpContent.getContentEncoding()
ResourceHttpContent.getContentEncoding()
CachingHttpContentFactory.CachedHttpContent.getContentLength()
CachingHttpContentFactory.NotFoundHttpContent.getContentLength()
HttpContent.getContentLength()
HttpContent.Wrapper.getContentLength()
PreCompressedHttpContent.getContentLength()
ResourceHttpContent.getContentLength()
CachingHttpContentFactory.NotFoundHttpContent.getContentType()
HttpContent.getContentType()
HttpContent.Wrapper.getContentType()
PreCompressedHttpContent.getContentType()
ResourceHttpContent.getContentType()
CachingHttpContentFactory.CachedHttpContent.getETag()
CachingHttpContentFactory.NotFoundHttpContent.getETag()
HttpContent.getETag()
HttpContent.Wrapper.getETag()
PreCompressedHttpContent.getETag()
ResourceHttpContent.getETag()
CachingHttpContentFactory.CachedHttpContent.getLastModified()
CachingHttpContentFactory.NotFoundHttpContent.getLastModified()
HttpContent.getLastModified()
HttpContent.Wrapper.getLastModified()
PreCompressedHttpContent.getLastModified()
ResourceHttpContent.getLastModified()
-
Uses of HttpField in org.eclipse.jetty.http2.hpack
-
Uses of HttpField in org.eclipse.jetty.http2.hpack.internal
-
Uses of HttpField in org.eclipse.jetty.http3.qpack
Modifier and TypeMethodDescriptionboolean
A speculative insert of a Header into the Encoders Dynamic Table.protected boolean
QpackEncoder.shouldHuffmanEncode
(HttpField httpField) protected boolean
QpackEncoder.shouldIndex
(HttpField httpField) -
Uses of HttpField in org.eclipse.jetty.http3.server
Modifier and TypeMethodDescriptionHTTP3ServerConnector.getAltSvcHttpField()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of HttpField in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionprotected HttpField
ProxyHandler.filterServerToProxyResponseField
(HttpField serverToProxyResponseField) Modifier and TypeMethodDescriptionprotected HttpField
ProxyHandler.filterServerToProxyResponseField
(HttpField serverToProxyResponseField) -
Uses of HttpField in org.eclipse.jetty.server
Modifier and TypeClassDescriptionstatic class
AHttpField
that holds anHttpHeader.SET_COOKIE
as aHttpCookie
instance, delaying any value generation untilHttpCookieUtils.SetCookieHttpField.getValue()
is called. -
Uses of HttpField in org.eclipse.jetty.server.handler
-
Uses of HttpField in org.eclipse.jetty.server.handler.gzip
-
Uses of HttpField in org.eclipse.jetty.server.internal
Modifier and TypeClassDescriptionstatic class
AHttpField
that is aResponseHttpFields.Persistent
.static class
APreEncodedHttpField
that is aResponseHttpFields.Persistent
.Modifier and TypeMethodDescriptionResponseHttpFields.getField
(int index) ResponseHttpFields.getField
(HttpHeader header) ResponseHttpFields.Persistent.getOriginal()
ResponseHttpFields.PersistentHttpField.getOriginal()
ResponseHttpFields.PersistentPreEncodedHttpField.getOriginal()
Modifier and TypeMethodDescriptionResponseHttpFields.iterator()
ResponseHttpFields.listIterator
(int index) ResponseHttpFields.stream()
Modifier and TypeMethodDescriptionvoid
ResponseHttpFields.ensureField
(HttpField field) static boolean
ResponseHttpFields.Persistent.isPersistent
(HttpField field) void
HttpConnection.HttpStreamOverHTTP1.parsedHeader
(HttpField field) void
HttpConnection.RequestHandler.parsedHeader
(HttpField field) void
HttpConnection.RequestHandler.parsedTrailer
(HttpField field) -
Uses of HttpField in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionWebSocketHttpFieldsWrapper.onAddField
(HttpField field) boolean
WebSocketHttpFieldsWrapper.onRemoveField
(HttpField field)