Uses of Class
java.net.http.HttpHeaders
-
Packages that use HttpHeaders Package Description java.net.http HTTP Client and WebSocket API -
-
Uses of HttpHeaders in java.net.http
Methods in java.net.http that return HttpHeaders Modifier and Type Method Description abstract HttpHeaders
HttpRequest. headers()
The (user-accessible) request headers that this request was (or will be) sent with.HttpHeaders
HttpResponse. headers()
Returns the received response headers.Methods in java.net.http with parameters of type HttpHeaders Modifier and Type Method Description HttpResponse.BodySubscriber<T>
HttpResponse.BodyHandler. apply(int statusCode, HttpHeaders responseHeaders)
Returns aBodySubscriber
considering the given response status code and headers.
-