Uses of Interface
jdk.incubator.http.HttpHeaders
-
Packages that use HttpHeaders Package Description jdk.incubator.http High level HTTP and WebSocket APIjdk.incubator.http.internal.common jdk.incubator.http.internal.frame -
-
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 java.util.concurrent.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)
Return aBodyProcessor
considering the given response status code and headers. -
Uses of HttpHeaders in jdk.incubator.http.internal.common
Classes in jdk.incubator.http.internal.common that implement HttpHeaders Modifier and Type Class Description class
HttpHeadersImpl
Implementation of HttpHeaders.Methods in jdk.incubator.http.internal.common with parameters of type HttpHeaders Modifier and Type Method Description static java.nio.charset.Charset
Utils. charsetFrom(HttpHeaders headers)
Get the Charset from the Content-encoding header.static void
Log. dumpHeaders(java.lang.StringBuilder sb, java.lang.String prefix, HttpHeaders headers)
-
Uses of HttpHeaders in jdk.incubator.http.internal.frame
Methods in jdk.incubator.http.internal.frame that return HttpHeaders Modifier and Type Method Description HttpHeaders
OutgoingHeaders. getSystemHeaders()
HttpHeaders
OutgoingHeaders. getUserHeaders()
Constructors in jdk.incubator.http.internal.frame with parameters of type HttpHeaders Constructor Description OutgoingHeaders(HttpHeaders hdrs1, HttpHeaders hdrs2, T attachment)
-