Uses of Interface
jdk.incubator.http.HttpHeaders
-
Packages that use HttpHeaders Package Description jdk.incubator.http High level HTTP and WebSocket API -
-
Uses of HttpHeaders in jdk.incubator.http
Methods in jdk.incubator.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.abstract HttpHeaders
HttpResponse. headers()
Returns the received response headers.Methods in jdk.incubator.http that return types with arguments of type HttpHeaders Modifier and Type Method Description abstract CompletableFuture<HttpHeaders>
HttpResponse. trailers()
Returns the received response trailers, if there are any, when they become available.Methods in jdk.incubator.http with parameters of type HttpHeaders Modifier and Type Method Description HttpResponse.BodyProcessor<T>
HttpResponse.BodyHandler. apply(int statusCode, HttpHeaders responseHeaders)
Returns aBodyProcessor
considering the given response status code and headers.
-