Uses of Class
org.apache.juneau.http.header.HttpHeaderList
Packages that use HttpHeaderList
Package
Description
Next-generation HTTP header implementations.
REST Server API
-
Uses of HttpHeaderList in org.apache.juneau.http.header
Subclasses of HttpHeaderList in org.apache.juneau.http.headerModifier and TypeClassDescriptionstatic classAn unmodifiable snapshot of aHttpHeaderList.static final classRepresents no header list in annotations.Methods in org.apache.juneau.http.header that return HttpHeaderListModifier and TypeMethodDescriptionAppends a header constructed from the given name and string value.Appends a header constructed from the given name and lazy value supplier.HttpHeaderList.append(List<HttpHeader> values) Appends the given headers in order.HttpHeaderList.append(HttpHeader value) Appends the given header.HttpHeaderList.append(HttpHeader... values) Appends the given headers in order.HttpHeaderList.Unmodifiable.append(List<HttpHeader> values) HttpHeaderList.Unmodifiable.append(HttpHeader value) HttpHeaderList.Unmodifiable.append(HttpHeader... values) HttpHeaderList.caseSensitive(boolean value) Sets whether header-name comparisons are case-sensitive.HttpHeaderList.Unmodifiable.caseSensitive(boolean value) HttpHeaderList.copy()Returns a copy of this list.static HttpHeaderListHttpHeaderList.create()Creates a new emptyHttpHeaderList.HttpHeaderList.forEach(String name, Consumer<HttpHeader> action) Performs an action on each header whose name matches.static HttpHeaderListHttpHeaderList.of(List<HttpHeader> headers) Creates a newHttpHeaderListinitialized with the given headers.static HttpHeaderListHttpHeaderList.of(HttpHeader... headers) Creates a newHttpHeaderListinitialized with the given headers.static HttpHeaderListRemoves all headers with the given name.Sets a header with the given name and value, replacing any prior entry with the same name.HttpHeaderList.set(HttpHeader value) Sets the given header, replacing any prior entry with the same name.HttpHeaderList.set(HttpHeader... values) Sets the given headers, each replacing any prior entry with the same name.HttpHeaderList.Unmodifiable.set(HttpHeader value) HttpHeaderList.Unmodifiable.set(HttpHeader... values) HttpHeaderList.setDefault(String name, String value) Sets a default header with the given name and value (first-in-chain wins per name).HttpHeaderList.setDefault(HttpHeader value) Sets the given header as a default.HttpHeaderList.setDefault(HttpHeader... values) Sets the given headers as defaults, in order.HttpHeaderList.Unmodifiable.setDefault(String name, String value) HttpHeaderList.Unmodifiable.setDefault(HttpHeader value) HttpHeaderList.Unmodifiable.setDefault(HttpHeader... values) HttpHeaderList.unmodifiable()Returns an unmodifiable snapshot of this list.Constructors in org.apache.juneau.http.header with parameters of type HttpHeaderListModifierConstructorDescriptionprotectedHttpHeaderList(HttpHeaderList copyFrom) Copy constructor. -
Uses of HttpHeaderList in org.apache.juneau.rest.server
Methods in org.apache.juneau.rest.server that return HttpHeaderListModifier and TypeMethodDescriptionRestContext.getDefaultRequestHeaders()Returns the default request headers for this resource.RestOpContext.getDefaultRequestHeaders()Returns the default request headers.RestContext.getDefaultResponseHeaders()Returns the default response headers for this resource.RestOpContext.getDefaultResponseHeaders()Returns the default response headers.