Uses of Class
org.apache.juneau.http.header.HeaderList
Packages that use HeaderList
Package
Description
HTTP Header Beans
HTTP Resource Beans
HTTP Response Exception Beans
REST Server API
REST Client API
Remote REST API
-
Uses of HeaderList in org.apache.juneau.http
Methods in org.apache.juneau.http that return HeaderListModifier and TypeMethodDescriptionstatic final HeaderList
HttpHeaders.headerList()
Instantiates a newHeaderList
.static HeaderList
HttpHeaders.headerList
(String... pairs) Creates a newHeaderList
initialized with the specified name/value pairs.static final HeaderList
HttpHeaders.headerList
(List<Header> headers) Creates a newHeaderList
initialized with the specified headers.static final HeaderList
HttpHeaders.headerList
(Header... headers) Creates a newHeaderList
initialized with the specified headers. -
Uses of HeaderList in org.apache.juneau.http.header
Subclasses of HeaderList in org.apache.juneau.http.headerModifier and TypeClassDescriptionstatic final class
Represents no header list in annotations.Methods in org.apache.juneau.http.header that return HeaderListModifier and TypeMethodDescriptionAppends the specified header to the end of this list.Appends the specified header to the end of this list using a value supplier.Adds the specified headers to the end of the headers in this list.Adds the specified header to the end of the headers in this list.Adds the specified headers to the end of the headers in this list.HeaderList.caseSensitive
(boolean value) Specifies that the headers in this list should be treated as case-sensitive.HeaderList.copy()
Makes a copy of this list.static HeaderList
HeaderList.create()
Instantiates a new list.Performs an action on all headers with the specified name in this list.Performs an action on all matching headers in this list.HeaderList.forEachValue
(String name, Consumer<String> action) Performs an action on the values of all matching headers in this list.HeaderList.forEachValue
(Predicate<Header> filter, Consumer<String> action) Performs an action on the values for all matching headers in this list.static HeaderList
Creates a newHeaderList
initialized with the specified headers.static HeaderList
Creates a newHeaderList
initialized with the specified headers.static HeaderList
Creates a newHeaderList
initialized with the specified name/value pairs.Appends the specified header to the beginning of this list.Appends the specified header to the beginning of this list using a value supplier.Adds the specified headers to the beginning of the headers in this list.Adds the specified header to the beginning of the headers in this list.Adds the specified headers to the beginning of the headers in this list.Removes the header with the specified name from this list.Removes the header with the specified name from this list.Removes the specified headers from this list.Removes the specified header from this list.Removes the specified headers from this list.HeaderList.removeAll()
Removes all headers from this list.HeaderList.resolving()
Allows header values to contain SVL variables.HeaderList.resolving
(VarResolver varResolver) Allows header values to contain SVL variables.Replaces the first occurrence of the headers with the same name.Replaces the first occurrence of the headers with the same name.Replaces the first occurrence of the headers with the same name.Adds or replaces the header(s) with the same name.Adds or replaces the header(s) with the same name.HeaderList.setDefault
(String name, Object value) Replaces the first occurrence of the headers with the same name.HeaderList.setDefault
(String name, Supplier<?> value) Replaces the first occurrence of the headers with the same name.HeaderList.setDefault
(List<Header> headers) Adds a collection of default headers.HeaderList.setDefault
(Header... headers) Makes a copy of this list of headers and adds a collection of default headers.HeaderList.setUnmodifiable()
Constructors in org.apache.juneau.http.header with parameters of type HeaderList -
Uses of HeaderList in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return HeaderListModifier and TypeMethodDescriptionBasicResource.getHeaders()
HttpResource.getHeaders()
Returns the list of headers associated with this resource.Methods in org.apache.juneau.http.resource with parameters of type HeaderListModifier and TypeMethodDescriptionBasicResource.setHeaders
(HeaderList value) Sets the specified headers in this builder.ByteArrayResource.setHeaders
(HeaderList value) FileResource.setHeaders
(HeaderList value) ReaderResource.setHeaders
(HeaderList value) StreamResource.setHeaders
(HeaderList value) StringResource.setHeaders
(HeaderList value) -
Uses of HeaderList in org.apache.juneau.http.response
Methods in org.apache.juneau.http.response that return HeaderListModifier and TypeMethodDescriptionBasicHttpException.getHeaders()
Returns access to the underlying builder for the headers.BasicHttpResponse.getHeaders()
Returns access to the underlying builder for the headers.Methods in org.apache.juneau.http.response with parameters of type HeaderListModifier and TypeMethodDescriptionAccepted.setHeaders
(HeaderList value) AlreadyReported.setHeaders
(HeaderList value) BadRequest.setHeaders
(HeaderList value) BasicHttpException.setHeaders
(HeaderList value) Sets the specified headers on this response.BasicHttpResponse.setHeaders
(HeaderList value) Sets the specified headers on this response.Conflict.setHeaders
(HeaderList value) Continue.setHeaders
(HeaderList value) Created.setHeaders
(HeaderList value) EarlyHints.setHeaders
(HeaderList value) ExpectationFailed.setHeaders
(HeaderList value) FailedDependency.setHeaders
(HeaderList value) Forbidden.setHeaders
(HeaderList value) Found.setHeaders
(HeaderList value) Gone.setHeaders
(HeaderList value) HttpVersionNotSupported.setHeaders
(HeaderList value) IMUsed.setHeaders
(HeaderList value) InsufficientStorage.setHeaders
(HeaderList value) InternalServerError.setHeaders
(HeaderList value) LengthRequired.setHeaders
(HeaderList value) Locked.setHeaders
(HeaderList value) LoopDetected.setHeaders
(HeaderList value) MethodNotAllowed.setHeaders
(HeaderList value) MisdirectedRequest.setHeaders
(HeaderList value) MovedPermanently.setHeaders
(HeaderList value) MultipleChoices.setHeaders
(HeaderList value) MultiStatus.setHeaders
(HeaderList value) NetworkAuthenticationRequired.setHeaders
(HeaderList value) NoContent.setHeaders
(HeaderList value) NonAuthoritiveInformation.setHeaders
(HeaderList value) NotAcceptable.setHeaders
(HeaderList value) NotExtended.setHeaders
(HeaderList value) NotFound.setHeaders
(HeaderList value) NotImplemented.setHeaders
(HeaderList value) NotModified.setHeaders
(HeaderList value) Ok.setHeaders
(HeaderList value) PartialContent.setHeaders
(HeaderList value) PayloadTooLarge.setHeaders
(HeaderList value) PermanentRedirect.setHeaders
(HeaderList value) PreconditionFailed.setHeaders
(HeaderList value) PreconditionRequired.setHeaders
(HeaderList value) Processing.setHeaders
(HeaderList value) RangeNotSatisfiable.setHeaders
(HeaderList value) RequestHeaderFieldsTooLarge.setHeaders
(HeaderList value) ResetContent.setHeaders
(HeaderList value) SeeOther.setHeaders
(HeaderList value) ServiceUnavailable.setHeaders
(HeaderList value) SwitchingProtocols.setHeaders
(HeaderList value) TemporaryRedirect.setHeaders
(HeaderList value) TooManyRequests.setHeaders
(HeaderList value) Unauthorized.setHeaders
(HeaderList value) UnavailableForLegalReasons.setHeaders
(HeaderList value) UnprocessableEntity.setHeaders
(HeaderList value) UnsupportedMediaType.setHeaders
(HeaderList value) UpgradeRequired.setHeaders
(HeaderList value) UriTooLong.setHeaders
(HeaderList value) UseProxy.setHeaders
(HeaderList value) VariantAlsoNegotiates.setHeaders
(HeaderList value) -
Uses of HeaderList in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return HeaderListModifier and TypeMethodDescriptionprotected HeaderList
RestContext.Builder.createDefaultRequestHeaders
(BeanStore beanStore, Supplier<?> resource) Instantiates the default request headers sub-builder.protected HeaderList
RestOpContext.Builder.createDefaultRequestHeaders
(BeanStore beanStore, RestContext.Builder parent, Supplier<?> resource) Instantiates the default request headers.protected HeaderList
RestContext.Builder.createDefaultResponseHeaders
(BeanStore beanStore, Supplier<?> resource) Instantiates the default response headers sub-builder.protected HeaderList
RestOpContext.Builder.createDefaultResponseHeaders
(BeanStore beanStore, RestContext.Builder parent, Supplier<?> resource) Instantiates the default response headers.RestContext.Builder.defaultRequestHeaders()
Returns the default request headers.RestOpContext.Builder.defaultRequestHeaders()
Returns the default request headers.RestContext.Builder.defaultResponseHeaders()
Returns the default response headers.RestOpContext.Builder.defaultResponseHeaders()
Returns the default response headers.RestContext.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. -
Uses of HeaderList in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return HeaderListModifier and TypeMethodDescriptionprotected HeaderList
RestClient.Builder.createHeaderData()
Creates the builder for the header list.RestClient.createHeaderData()
Creates a mutable copy of the header data defined on this client.RestRequest.getHeaders()
Returns the header data for the request.final HeaderList
RestClient.Builder.headers()
Returns the builder for the list of headers that get applied to all requests created by this builder. -
Uses of HeaderList in org.apache.juneau.rest.client.remote
Methods in org.apache.juneau.rest.client.remote that return HeaderListModifier and TypeMethodDescriptionRemoteMeta.getHeaders()
Returns the headers to set on all requests.