Uses of Interface
org.eclipse.jetty.http.HttpFields.Mutable
Package
Description
Jetty Server : Modular Servlet Integration
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
Jetty Server : Core Handler API
-
Uses of HttpFields.Mutable in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionRequest.headers
(Consumer<HttpFields.Mutable> consumer) Modifies the headers of this request. -
Uses of HttpFields.Mutable in org.eclipse.jetty.client.transport
Modifier and TypeMethodDescriptionHttpRequest.headers
(Consumer<HttpFields.Mutable> consumer) HttpResponse.headers
(Consumer<HttpFields.Mutable> consumer) -
Uses of HttpFields.Mutable in org.eclipse.jetty.ee10.fcgi.proxy
Modifier and TypeMethodDescriptionprotected void
FastCGIProxyServlet.customizeFastCGIHeaders
(Request proxyRequest, HttpFields.Mutable fastCGIHeaders) -
Uses of HttpFields.Mutable in org.eclipse.jetty.ee10.servlet
Modifier and TypeMethodDescriptionServletContextResponse.getHeaders()
ServletCoreResponse.getHeaders()
Modifier and TypeMethodDescriptionErrorHandler.badMessageError
(int status, String reason, HttpFields.Mutable fields) Bad Message Error body -
Uses of HttpFields.Mutable in org.eclipse.jetty.fcgi.client.transport
Modifier and TypeMethodDescriptionvoid
HttpClientTransportOverFCGI.customize
(Request request, HttpFields.Mutable fastCGIHeaders) -
Uses of HttpFields.Mutable in org.eclipse.jetty.fcgi.proxy
Modifier and TypeMethodDescriptionprotected void
FastCGIProxyHandler.customizeFastCGIHeaders
(Request proxyToServerRequest, HttpFields.Mutable fastCGIHeaders) -
Uses of HttpFields.Mutable in org.eclipse.jetty.fcgi.server.internal
Modifier and TypeMethodDescriptionvoid
HttpStreamOverFCGI.prepareResponse
(HttpFields.Mutable headers) -
Uses of HttpFields.Mutable in org.eclipse.jetty.http
Modifier and TypeClassDescriptionstatic 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 TypeMethodDescriptiondefault HttpFields.Mutable
Adds a newHttpField
with the given name andlong
value.default HttpFields.Mutable
Adds a newHttpField
with the given name and string value.default HttpFields.Mutable
Adds a field associated with a list of values.default HttpFields.Mutable
Adds the givenHttpField
to this instance.default HttpFields.Mutable
HttpFields.Mutable.add
(HttpFields fields) Adds all theHttpField
s of the givenHttpFields
to this instance.default 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
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.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.addDateField
(String name, long date) Adds a new dateHttpField
with the given name anddate
value.static HttpFields.Mutable
HttpFields.build()
Returns an emptyHttpFields.Mutable
instance.static HttpFields.Mutable
HttpFields.build
(int capacity) Returns an emptyHttpFields.Mutable
instance with the given initialcapacity
.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.default HttpFields.Mutable
HttpFields.Mutable.clear()
Removes all the fields from this instance.HttpFields.Mutable.Wrapper.clear()
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
default HttpFields.Mutable
This method behaves likeremove(String)
when the givenvalue
isnull
, otherwise behaves likeput(HttpField)
.default HttpFields.Mutable
Puts a field associated with a list of values.default HttpFields.Mutable
Puts the givenHttpField
into this instance.default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, long value) default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, String value) This method behaves likeremove(HttpHeader)
when the givenvalue
isnull
, otherwise behaves likeput(HttpField)
.default HttpFields.Mutable
HttpFields.Mutable.put
(HttpHeader header, HttpHeaderValue value) This method behaves likeremove(HttpHeader)
when the givenvalue
isnull
, otherwise behaves likeput(HttpField)
.default HttpFields.Mutable
default HttpFields.Mutable
HttpFields.Mutable.putDate
(HttpHeader name, long date) default HttpFields.Mutable
Removes all the fields with the given name.default HttpFields.Mutable
HttpFields.Mutable.remove
(EnumSet<HttpHeader> headers) Removes all the fields with the given names.default HttpFields.Mutable
HttpFields.Mutable.remove
(HttpHeader header) Removes all the fields with the given name.Modifier and TypeMethodDescriptionstatic void
HttpGenerator.putTo
(HttpFields.Mutable fields, ByteBuffer bufferInFillMode) -
Uses of HttpFields.Mutable in org.eclipse.jetty.http2.server
Modifier and TypeMethodDescriptionAuthorityCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) HTTP2CServerConnectionFactory.upgradeConnection
(Connector connector, EndPoint endPoint, MetaData.Request request, HttpFields.Mutable response101) -
Uses of HttpFields.Mutable in org.eclipse.jetty.http2.server.internal
Modifier and TypeMethodDescriptionvoid
HttpStreamOverHTTP2.prepareResponse
(HttpFields.Mutable headers) boolean
HTTP2ServerConnection.upgrade
(MetaData.Request request, HttpFields.Mutable responseFields) -
Uses of HttpFields.Mutable in org.eclipse.jetty.rewrite
Modifier and TypeMethodDescriptionRewriteCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) -
Uses of HttpFields.Mutable in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionForwardedRequestCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) HostHeaderCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) HttpConfiguration.Customizer.customize
(Request request, HttpFields.Mutable responseHeaders) ProxyCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) SecureRequestCustomizer.customize
(Request request, HttpFields.Mutable responseHeaders) void
HttpStream.prepareResponse
(HttpFields.Mutable headers) Prepare the response headers with respect to the stream.void
HttpStream.Wrapper.prepareResponse
(HttpFields.Mutable headers) ConnectionFactory.Upgrading.upgradeConnection
(Connector connector, EndPoint endPoint, MetaData.Request upgradeRequest, HttpFields.Mutable responseFields) Create a connection for an upgrade request. -
Uses of HttpFields.Mutable in org.eclipse.jetty.server.handler
Modifier and TypeMethodDescriptionErrorHandler.badMessageError
(int status, String reason, HttpFields.Mutable fields) Deprecated, for removal: This API element is subject to removal in a future version.Do not override. -
Uses of HttpFields.Mutable in org.eclipse.jetty.server.internal
Modifier and TypeMethodDescriptionResponseHttpFields.clear()
HttpChannelState.ChannelResponse.getHeaders()
ResponseHttpFields.getMutableHttpFields()
Modifier and TypeMethodDescriptionvoid
HttpConnection.HttpStreamOverHTTP1.prepareResponse
(HttpFields.Mutable headers) -
Uses of HttpFields.Mutable in org.eclipse.jetty.websocket.core.client
Modifier and TypeMethodDescriptionvoid
CoreClientUpgradeRequest.headers
(Consumer<HttpFields.Mutable> consumer) -
Uses of HttpFields.Mutable in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionServerUpgradeResponseImpl.getHeaders()
WebSocketHttpFieldsWrapper.put
(HttpHeader header, String value) WebSocketHttpFieldsWrapper.put
(HttpHeader header, HttpHeaderValue value) ModifierConstructorDescriptionWebSocketHttpFieldsWrapper
(HttpFields.Mutable fields, ServerUpgradeResponse response, WebSocketNegotiation negotiation)