HttpHeaders (Java SE 11 & JDK 11 [ad-hoc build]) (original) (raw)

public abstract class HttpHeaders
extends Object
A read-only view of a set of HTTP headers.
An HttpHeaders is not created directly, but rather returned from an HttpResponse. Specific HTTP headers can be set forrequests through the one of the request builder'sheaders methods.
The methods of this class ( that accept a String header name ), and the Map returned by the map method, operate without regard to case when retrieving the header value.
HttpHeaders instances are immutable.
Since:
11

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT 11-internal+0-adhoc.chhegar.open