Uses of Interface
org.eclipse.jetty.http.HttpFields
Package
Description
Jetty Server : Modular Servlet Integration
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
Modifier and TypeMethodDescriptionprotected HttpFields
MultiPartRequestContent.customizePartHeaders
(MultiPart.Part part) Request.getHeaders()
Response.getHeaders()
Returns the headers of this response.Response.getTrailers()
Modifier and TypeMethodDescriptionprotected void
EarlyHintsProtocolHandler.onEarlyHints
(Request request, HttpFields responseHeaders) protected void
ProcessingProtocolHandler.onProcessing
(Request request, HttpFields responseHeaders) Modifier and TypeMethodDescriptionRequest.trailersSupplier
(Supplier<HttpFields> trailers) Provides the trailers of this request. -
Uses of HttpFields in org.eclipse.jetty.client.internal
Modifier and TypeMethodDescriptionHttpContentResponse.getHeaders()
HttpContentResponse.getTrailers()
-
Uses of HttpFields in org.eclipse.jetty.client.transport
Modifier and TypeMethodDescriptionHttpRequest.getHeaders()
HttpResponse.getHeaders()
HttpResponse.getTrailers()
-
Uses of HttpFields in org.eclipse.jetty.ee10.servlet
Modifier and TypeMethodDescriptionServletApiRequest.getFields()
ServletCoreRequest.getHeaders()
ServletContextRequest.getTrailers()
ServletCoreRequest.getTrailers()
Modifier and TypeMethodDescriptionServletCoreResponse.writeInterim
(int status, HttpFields headers) Modifier and TypeMethodDescriptionvoid
ServletCoreResponse.setTrailersSupplier
(Supplier<HttpFields> trailers) -
Uses of HttpFields in org.eclipse.jetty.fcgi.client.transport.internal
Modifier and TypeMethodDescriptionprotected boolean
HttpConnectionOverFCGI.isCloseByHTTP
(HttpFields fields) -
Uses of HttpFields in org.eclipse.jetty.fcgi.generator
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionstatic final HttpFields
HttpFields.EMPTY
A constant for an immutable and emptyHttpFields
.Modifier 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()
Modifier and TypeMethodDescriptiondefault HttpFields.Mutable
HttpFields.Mutable.add
(HttpFields fields) Adds all theHttpField
s of the givenHttpFields
to this instance.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.ModifierConstructorDescriptionByteBufferPart
(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) ModifierConstructorDescriptionMetaData
(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.proxy
Modifier 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
Modifier and TypeMethodDescriptionRequest.getHeaders()
Request.Wrapper.getHeaders()
Request.getTrailers()
Request.Wrapper.getTrailers()
Modifier and TypeMethodDescriptionResponse.getTrailersSupplier()
Response.Wrapper.getTrailersSupplier()
Modifier 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.Modifier 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
Modifier 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.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.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
-
Uses of HttpFields in org.eclipse.jetty.server.internal
Modifier and TypeMethodDescriptionResponseHttpFields.asImmutable()
HttpChannelState.ChannelRequest.getHeaders()
HttpChannelState.ChannelRequest.getTrailers()
Modifier and TypeMethodDescriptionHttpChannelState.ChannelResponse.writeInterim
(int status, HttpFields headers) Modifier and TypeMethodDescriptionvoid
HttpChannelState.ChannelResponse.setTrailersSupplier
(Supplier<HttpFields> trailers) -
Uses of HttpFields in org.eclipse.jetty.websocket.core.client
-
Uses of HttpFields in org.eclipse.jetty.websocket.core.server.internal