## Uses of Interface
java.net.http.HttpHeaders

Packages that use HttpHeaders
java.net.http: High level HTTP API

### Uses of HttpHeaders in java.net.http

Subinterfaces of HttpHeaders in java.net.http
`interface` `HttpHeaders1`

Methods in java.net.http that return HttpHeaders
`abstract HttpHeaders` HttpRequest.`headers()` The (user-accessible) request headers that this request was (or will be) sent with.
`abstract HttpHeaders` HttpResponse.`headers()` Returns the received response headers.
`abstract HttpHeaders` HttpResponse.`trailers()` Returns the received response trailers, if there are any.

Methods in java.net.http with parameters of type HttpHeaders
`T` HttpResponse.BodyProcessor.`onResponseBodyStart(long contentLength, HttpHeaders responseHeaders, LongConsumer flowController)` Called immediately before the response body is read.