Uses of Interface
org.eclipse.jetty.http.HttpFields
Packages that use HttpFields
Package
Description
Jetty Server : Modular Servlet Integration
Jetty Server : Core Handler API
Jetty Server : Core Handler API
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
-
Uses of HttpFields in org.eclipse.jetty.client
Methods in org.eclipse.jetty.client that return HttpFieldsModifier and TypeMethodDescriptionprotected HttpFields
MultiPartRequestContent.customizePartHeaders
(MultiPart.Part part) Request.getHeaders()
Response.getHeaders()
Returns the headers of this response.Response.getTrailers()
Methods in org.eclipse.jetty.client that return types with arguments of type HttpFieldsMethods in org.eclipse.jetty.client with parameters of type HttpFieldsModifier and TypeMethodDescriptionprotected void
EarlyHintsProtocolHandler.onEarlyHints
(Request request, HttpFields responseHeaders) protected void
ProcessingProtocolHandler.onProcessing
(Request request, HttpFields responseHeaders) Method parameters in org.eclipse.jetty.client with type arguments of type HttpFieldsModifier and TypeMethodDescriptionRequest.trailersSupplier
(Supplier<HttpFields> trailers) Provides the trailers of this request. -
Uses of HttpFields in org.eclipse.jetty.client.transport
Methods in org.eclipse.jetty.client.transport that return HttpFieldsModifier and TypeMethodDescriptionHttpRequest.getHeaders()
HttpResponse.getHeaders()
HttpResponse.getTrailers()
Methods in org.eclipse.jetty.client.transport that return types with arguments of type HttpFieldsMethod parameters in org.eclipse.jetty.client.transport with type arguments of type HttpFields -
Uses of HttpFields in org.eclipse.jetty.ee10.servlet
Methods in org.eclipse.jetty.ee10.servlet that return HttpFieldsModifier and TypeMethodDescriptionServletApiRequest.getFields()
ServletCoreRequest.getHeaders()
ServletContextRequest.getTrailers()
ServletCoreRequest.getTrailers()
Methods in org.eclipse.jetty.ee10.servlet that return types with arguments of type HttpFieldsMethods in org.eclipse.jetty.ee10.servlet with parameters of type HttpFieldsModifier and TypeMethodDescriptionServletCoreResponse.writeInterim
(int status, HttpFields headers) Method parameters in org.eclipse.jetty.ee10.servlet with type arguments of type HttpFieldsModifier and TypeMethodDescriptionvoid
ServletCoreResponse.setTrailersSupplier
(Supplier<HttpFields> trailers) -
Uses of HttpFields in org.eclipse.jetty.ee8.nested
Methods in org.eclipse.jetty.ee8.nested that return HttpFieldsModifier and TypeMethodDescriptionServletCoreRequest.getHeaders()
Request.getHttpFields()
Request.getTrailerHttpFields()
ServletCoreRequest.getTrailers()
Methods in org.eclipse.jetty.ee8.nested that return types with arguments of type HttpFieldsModifier and TypeMethodDescriptionResponse.getTrailers()
ServletCoreResponse.getTrailersSupplier()
Methods in org.eclipse.jetty.ee8.nested with parameters of type HttpFieldsModifier and TypeMethodDescriptionvoid
HttpChannel.send102Processing
(HttpFields headers) void
HttpChannel.send103EarlyHints
(HttpFields headers) void
Request.setHttpFields
(HttpFields fields) void
Request.setTrailerHttpFields
(HttpFields trailers) ServletCoreResponse.writeInterim
(int status, HttpFields headers) Method parameters in org.eclipse.jetty.ee8.nested with type arguments of type HttpFieldsModifier and TypeMethodDescriptionvoid
Response.setTrailers
(Supplier<HttpFields> trailers) void
ServletCoreResponse.setTrailersSupplier
(Supplier<HttpFields> trailers) Constructors in org.eclipse.jetty.ee8.nested with parameters of type HttpFieldsModifierConstructorDescriptionPushBuilderImpl
(Request request, HttpFields fields, String method, String queryString, String sessionId) -
Uses of HttpFields in org.eclipse.jetty.ee9.nested
Methods in org.eclipse.jetty.ee9.nested that return HttpFieldsModifier and TypeMethodDescriptionServletCoreRequest.getHeaders()
Request.getHttpFields()
Request.getTrailerHttpFields()
ServletCoreRequest.getTrailers()
Methods in org.eclipse.jetty.ee9.nested that return types with arguments of type HttpFieldsModifier and TypeMethodDescriptionResponse.getTrailers()
ServletCoreResponse.getTrailersSupplier()
Methods in org.eclipse.jetty.ee9.nested with parameters of type HttpFieldsModifier and TypeMethodDescriptionvoid
HttpChannel.send102Processing
(HttpFields headers) void
HttpChannel.send103EarlyHints
(HttpFields headers) void
Request.setHttpFields
(HttpFields fields) void
Request.setTrailerHttpFields
(HttpFields trailers) ServletCoreResponse.writeInterim
(int status, HttpFields headers) Method parameters in org.eclipse.jetty.ee9.nested with type arguments of type HttpFieldsModifier and TypeMethodDescriptionvoid
Response.setTrailers
(Supplier<HttpFields> trailers) void
ServletCoreResponse.setTrailersSupplier
(Supplier<HttpFields> trailers) Constructors in org.eclipse.jetty.ee9.nested with parameters of type HttpFieldsModifierConstructorDescriptionPushBuilderImpl
(Request request, HttpFields fields, String method, String queryString, String sessionId) -
Uses of HttpFields in org.eclipse.jetty.fcgi.generator
Methods in org.eclipse.jetty.fcgi.generator with parameters of type HttpFieldsModifier and TypeMethodDescriptionvoid
ClientGenerator.generateRequestHeaders
(ByteBufferPool.Accumulator accumulator, int request, HttpFields fields) void
ServerGenerator.generateResponseHeaders
(ByteBufferPool.Accumulator accumulator, int request, int code, String reason, HttpFields fields) -
Uses of HttpFields in org.eclipse.jetty.http
Subinterfaces of HttpFields in org.eclipse.jetty.httpClasses in org.eclipse.jetty.http that implement HttpFieldsModifier and TypeClassDescriptionstatic class
Deprecated, for removal: This API element is subject to removal in a future version.static class
A wrapper ofHttpFields
instances.static class
Deprecated, for removal: This API element is subject to removal in a future version.static class
static class
static class
Fields in org.eclipse.jetty.http declared as HttpFieldsModifier and TypeFieldDescriptionstatic final HttpFields
HttpFields.EMPTY
A constant for an immutable and emptyHttpFields
.Methods in org.eclipse.jetty.http that return HttpFieldsModifier and TypeMethodDescriptiondefault HttpFields
HttpFields.asImmutable()
Returns an immutable copy of thisHttpFields
instance.protected HttpFields
MultiPart.AbstractContentSource.customizePartHeaders
(MultiPart.Part part) protected HttpFields
MultiPartFormData.ContentSource.customizePartHeaders
(MultiPart.Part part) static HttpFields
Returns an immutableHttpFields
instance containing the givenHttpField
s.default HttpFields
HttpFields.get()
Supplies this instance, typically used to supply HTTP trailers.MultiPart.Part.getHeaders()
MetaData.getHttpFields()
Get the HTTP headers or HTTP trailers.Trailers.getTrailers()
Methods in org.eclipse.jetty.http that return types with arguments of type HttpFieldsMethods in org.eclipse.jetty.http with parameters of type HttpFieldsModifier and TypeMethodDescriptiondefault HttpFields.Mutable
HttpFields.Mutable.add
(HttpFields fields) Adds all theHttpField
s of the givenHttpFields
to this instance.HttpFields.asMap
(HttpFields fields) Wraps an instance ofHttpFields
as aMap
.static HttpFields.Mutable
HttpFields.build
(HttpFields fields) Returns a newHttpFields.Mutable
instance containing a copy of all theHttpField
s of the givenHttpFields
parameter.static 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.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.CookieCache.getCookies
(HttpFields headers) Deprecated, for removal: This API element is subject to removal in a future version.CookieCache.getCookies
(HttpFields headers, ComplianceViolation.Listener complianceViolationListener) Deprecated, for removal: This API element is subject to removal in a future version.default boolean
HttpFields.isEqualTo
(HttpFields that) Returns whether this instance is equal to the given instance.abstract void
MultiPart.AbstractPartsListener.onPart
(String name, String fileName, HttpFields headers) Callback method invoked when aMultiPart.Part
has been parsed.Constructors in org.eclipse.jetty.http with parameters of type HttpFieldsModifierConstructorDescriptionByteBufferPart
(String name, String fileName, HttpFields fields, ByteBuffer... buffers) ByteBufferPart
(String name, String fileName, HttpFields fields, List<ByteBuffer> content) ChunksPart
(String name, String fileName, HttpFields fields, List<Content.Chunk> content) ConnectRequest
(long beginNanoTime, String scheme, HostPortHttpField authority, String pathQuery, HttpFields headers, String protocol) ConnectRequest
(long beginNanoTime, HttpScheme scheme, HostPortHttpField authority, String pathQuery, HttpFields headers, String protocol) ConnectRequest
(String scheme, HostPortHttpField authority, String pathQuery, HttpFields headers, String protocol) ConnectRequest
(HttpScheme scheme, HostPortHttpField authority, String pathQuery, HttpFields headers, String protocol) ContentSourcePart
(String name, String fileName, HttpFields fields, Content.Source content) MetaData
(HttpVersion version, HttpFields fields) MetaData
(HttpVersion version, HttpFields fields, long contentLength) MetaData
(HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailersSupplier) Part
(String name, String fileName, HttpFields fields) Part
(HttpFields headers, Resource resource, ByteRange byteRange) Part
(HttpFields headers, Resource resource, ByteRange byteRange, ByteBufferPool bufferPool) PathPart
(String name, String fileName, HttpFields fields, Path path) Request
(long beginNanoTime, String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Request
(String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Response
(int status, String reason, HttpVersion version, HttpFields headers) Response
(int status, String reason, HttpVersion version, HttpFields headers, long contentLength) Response
(int status, String reason, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Trailers
(HttpFields trailers) Constructor parameters in org.eclipse.jetty.http with type arguments of type HttpFieldsModifierConstructorDescriptionMetaData
(HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailersSupplier) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Response
(int status, String reason, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) -
Uses of HttpFields in org.eclipse.jetty.http.tools.matchers
Methods in org.eclipse.jetty.http.tools.matchers that return types with arguments of type HttpFieldsModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher
<HttpFields> HttpFieldsMatchers.containsHeader
(String keyName) static org.hamcrest.Matcher
<HttpFields> HttpFieldsMatchers.containsHeader
(HttpHeader header) static org.hamcrest.Matcher
<HttpFields> HttpFieldsMatchers.containsHeaderValue
(String keyName, String value) static org.hamcrest.Matcher
<HttpFields> HttpFieldsMatchers.containsHeaderValue
(HttpHeader header, String value) static org.hamcrest.Matcher
<HttpFields> HttpFieldsContainsHeaderKey.containsKey
(String keyName) static org.hamcrest.Matcher
<HttpFields> HttpFieldsMatchers.headerValue
(String keyName, String value) Methods in org.eclipse.jetty.http.tools.matchers with parameters of type HttpFieldsModifier and TypeMethodDescriptionprotected boolean
HttpFieldsContainsHeaderKey.matchesSafely
(HttpFields fields) protected boolean
HttpFieldsContainsHeaderValue.matchesSafely
(HttpFields fields) protected boolean
HttpFieldsHeaderValue.matchesSafely
(HttpFields fields) -
Uses of HttpFields in org.eclipse.jetty.proxy
Methods in org.eclipse.jetty.proxy with parameters of type HttpFieldsModifier and TypeMethodDescriptionprotected void
ProxyHandler.onServerToProxyResponse102Processing
(Request clientToProxyRequest, Request proxyToServerRequest, HttpFields serverToProxyResponseHeaders, Response proxyToClientResponse) protected void
ProxyHandler.onServerToProxyResponse103EarlyHints
(Request clientToProxyRequest, Request proxyToServerRequest, HttpFields serverToProxyResponseHeaders, Response proxyToClientResponse) -
Uses of HttpFields in org.eclipse.jetty.server
Methods in org.eclipse.jetty.server that return HttpFieldsModifier and TypeMethodDescriptionRequest.getHeaders()
Request.Wrapper.getHeaders()
Request.getTrailers()
Request.Wrapper.getTrailers()
Methods in org.eclipse.jetty.server that return types with arguments of type HttpFieldsModifier and TypeMethodDescriptionResponse.getTrailersSupplier()
Response.Wrapper.getTrailersSupplier()
Methods in org.eclipse.jetty.server with parameters of type HttpFieldsModifier and TypeMethodDescriptionvoid
CookieCache.parseCookies
(HttpFields headers, ComplianceViolation.Listener complianceViolationListener) Response.Wrapper.writeInterim
(int status, HttpFields headers) Response.writeInterim
(int status, HttpFields headers) Writes anHTTP interim response
, with the given HTTP status code and HTTP headers.Method parameters in org.eclipse.jetty.server with type arguments of type HttpFieldsModifier and TypeMethodDescriptionvoid
Response.setTrailersSupplier
(Supplier<HttpFields> trailers) Sets the supplier for the HTTP trailers.void
Response.Wrapper.setTrailersSupplier
(Supplier<HttpFields> trailers) -
Uses of HttpFields in org.eclipse.jetty.server.handler
Methods in org.eclipse.jetty.server.handler with parameters of type HttpFieldsModifier and TypeMethodDescriptionprotected void
EventsHandler.onComplete
(Request request, int status, HttpFields headers, Throwable failure) Invoked when the request and response processing are complete, just before the request and response will be recycled (i.e. after theRunnable
return fromHttpChannel.onRequest(MetaData.Request)
has returned and theCallback
passed toRequest.Handler.handle(Request, Response, Callback)
has been completed).protected final void
LatencyRecordingHandler.onComplete
(Request request, int status, HttpFields headers, Throwable failure) protected void
StatisticsHandler.onComplete
(Request request, int status, HttpFields headers, Throwable failure) protected void
EventsHandler.onResponseBegin
(Request request, int status, HttpFields headers) Invoked just before the response is line written to the network (i.e. from within the first call toResponse.write(boolean, ByteBuffer, Callback)
).protected void
EventsHandler.onResponseTrailersComplete
(Request request, HttpFields trailers) Invoked after the response trailers have been written and the finalEventsHandler.onResponseWriteComplete(Request, Throwable)
event was fired. -
Uses of HttpFields in org.eclipse.jetty.server.handler.gzip
Methods in org.eclipse.jetty.server.handler.gzip that return HttpFieldsConstructors in org.eclipse.jetty.server.handler.gzip with parameters of type HttpFields -
Uses of HttpFields in org.eclipse.jetty.websocket.core.client
Methods in org.eclipse.jetty.websocket.core.client that return HttpFields