Uses of Class
org.apache.juneau.http.classic.header.HeaderList
Packages that use HeaderList
Package
Description
Predefined HTTP headers, parts, entities, resources, and responses built on the classic Apache HttpComponents API.
HTTP Header Beans
HTTP Resource Beans
HTTP Response Exception Beans
REST Client API
Remote REST API
-
Uses of HeaderList in org.apache.juneau.http.classic
Methods in org.apache.juneau.http.classic that return HeaderListModifier and TypeMethodDescriptionstatic final HeaderListHttpHeaders.headerList()Instantiates a newHeaderList.static HeaderListHttpHeaders.headerList(String... pairs) Creates a newHeaderListinitialized with the specified name/value pairs.static final HeaderListHttpHeaders.headerList(List<Header> headers) Creates a newHeaderListinitialized with the specified headers.static final HeaderListHttpHeaders.headerList(Header... headers) Creates a newHeaderListinitialized with the specified headers. -
Uses of HeaderList in org.apache.juneau.http.classic.header
Subclasses of HeaderList in org.apache.juneau.http.classic.headerModifier and TypeClassDescriptionstatic classAn unmodifiable snapshot of aHeaderList.static final classRepresents no header list in annotations.Methods in org.apache.juneau.http.classic.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.Unmodifiable.caseSensitive(boolean value) HeaderList.copy()Makes a copy of this list.static HeaderListHeaderList.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 HeaderListCreates a newHeaderListinitialized with the specified headers.static HeaderListCreates a newHeaderListinitialized with the specified headers.static HeaderListCreates a newHeaderListinitialized 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.Unmodifiable.removeAll()HeaderList.resolving()Allows header values to contain SVL variables.HeaderList.resolving(VarResolver varResolver) Allows header values to contain SVL variables.HeaderList.Unmodifiable.resolving()HeaderList.Unmodifiable.resolving(VarResolver varResolver) 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.Unmodifiable.setDefault(String name, Object value) HeaderList.Unmodifiable.setDefault(String name, Supplier<?> value) HeaderList.Unmodifiable.setDefault(List<Header> headers) HeaderList.Unmodifiable.setDefault(Header... headers) HeaderList.unmodifiable()Returns an unmodifiable snapshot of this list.Constructors in org.apache.juneau.http.classic.header with parameters of type HeaderList -
Uses of HeaderList in org.apache.juneau.http.classic.resource
Methods in org.apache.juneau.http.classic.resource that return HeaderListModifier and TypeMethodDescriptionBasicResource.getHeaders()HttpResource.getHeaders()Returns the list of headers associated with this resource.Methods in org.apache.juneau.http.classic.resource with parameters of type HeaderListModifier and TypeMethodDescriptionBasicResource.setHeaders(HeaderList value) Sets the specified headers in this builder. -
Uses of HeaderList in org.apache.juneau.http.classic.response
Methods in org.apache.juneau.http.classic.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.classic.response with parameters of type HeaderListModifier and TypeMethodDescriptionBadRequest.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) ExpectationFailed.setHeaders(HeaderList value) FailedDependency.setHeaders(HeaderList value) Forbidden.setHeaders(HeaderList value) Gone.setHeaders(HeaderList value) HttpVersionNotSupported.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) NetworkAuthenticationRequired.setHeaders(HeaderList value) NotAcceptable.setHeaders(HeaderList value) NotExtended.setHeaders(HeaderList value) NotFound.setHeaders(HeaderList value) NotImplemented.setHeaders(HeaderList value) PayloadTooLarge.setHeaders(HeaderList value) PreconditionFailed.setHeaders(HeaderList value) PreconditionRequired.setHeaders(HeaderList value) RangeNotSatisfiable.setHeaders(HeaderList value) RequestHeaderFieldsTooLarge.setHeaders(HeaderList value) ServiceUnavailable.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) VariantAlsoNegotiates.setHeaders(HeaderList value) -
Uses of HeaderList in org.apache.juneau.rest.client.classic
Fields in org.apache.juneau.rest.client.classic declared as HeaderListMethods in org.apache.juneau.rest.client.classic that return HeaderListModifier and TypeMethodDescriptionprotected HeaderListRestClient.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 HeaderListRestClient.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.classic.remote
Methods in org.apache.juneau.rest.client.classic.remote that return HeaderListModifier and TypeMethodDescriptionRemoteMeta.getHeaders()Returns the headers to set on all requests.