src/java.net.http/share/classes/java/net/http/HttpHeaders.java
branchhttp-client-branch
changeset 56099 41ba54ac9403
parent 56089 42208b2f224e
child 56167 96fa4f49a9ff
equal deleted inserted replaced
56098:e1890248eafe 56099:41ba54ac9403
    35 
    35 
    36 /**
    36 /**
    37  * A read-only view of a set of HTTP headers.
    37  * A read-only view of a set of HTTP headers.
    38  *
    38  *
    39  * <p> The methods of this class ( that accept a String header name ), and the
    39  * <p> The methods of this class ( that accept a String header name ), and the
    40  * Map returned by the {@linkplain #map() map} method, operate without regard to
    40  * Map returned by the {@link #map() map} method, operate without regard to
    41  * case when retrieving the header value.
    41  * case when retrieving the header value.
    42  *
    42  *
    43  * <p> HttpHeaders instances are immutable.
    43  * <p> HttpHeaders instances are immutable.
    44  *
    44  *
    45  * @since 11
    45  * @since 11
   136 
   136 
   137     /**
   137     /**
   138      * Computes a hash code for this HTTP headers instance.
   138      * Computes a hash code for this HTTP headers instance.
   139      *
   139      *
   140      * <p> The hash code is based upon the components of the HTTP headers
   140      * <p> The hash code is based upon the components of the HTTP headers
   141      * {@linkplain #map() map}, and satisfies the general contract of the
   141      * {@link #map() map}, and satisfies the general contract of the
   142      * {@link Object#hashCode Object.hashCode} method.
   142      * {@link Object#hashCode Object.hashCode} method.
   143      *
   143      *
   144      * @return the hash-code value for this HTTP headers
   144      * @return the hash-code value for this HTTP headers
   145      */
   145      */
   146     public final int hashCode() {
   146     public final int hashCode() {