A B C D E F G H I J K L M N O P Q R S T U V W
A
- abort() - Method in interface jdk.incubator.http.WebSocket
-
Closes the
WebSocket
abruptly. - ACK - Static variable in class jdk.incubator.http.internal.frame.PingFrame
- ACK - Static variable in class jdk.incubator.http.internal.frame.SettingsFrame
- addHeader(String, String) - Method in class jdk.incubator.http.internal.common.HttpHeadersImpl
- ALL - Static variable in class jdk.incubator.http.internal.common.Log
- ALL_HEADERS - Static variable in class jdk.incubator.http.internal.common.Utils
- ALLOWED_HEADERS - Static variable in class jdk.incubator.http.internal.common.Utils
- allValues(String) - Method in interface jdk.incubator.http.HttpHeaders
-
Returns an unmodifiable List of all of the values of the given named header.
- allValues(String) - Method in class jdk.incubator.http.internal.common.HttpHeadersImpl
- ALWAYS - jdk.incubator.http.HttpClient.Redirect
-
Always redirect.
- apply(int, HttpHeaders) - Method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Return a
BodyProcessor
considering the given response status code and headers. - asByteArray() - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<byte[]>
that returns aBodyProcessor
<byte[]
> obtained fromBodyProcessor.asByteArray()
. - asByteArray() - Static method in interface jdk.incubator.http.HttpResponse.BodyProcessor
-
Returns a
BodyProcessor
which stores the response body as a byte array. - asByteArrayConsumer(Consumer<Optional<byte[]>>) - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<Void>
that returns aBodyProcessor
<Void>
obtained fromBodyProcessor.asByteArrayConsumer(Consumer)
. - asByteArrayConsumer(Consumer<Optional<byte[]>>) - Static method in interface jdk.incubator.http.HttpResponse.BodyProcessor
-
Returns a
BodyProcessor
which provides the incoming body data to the provided Consumer ofOptional<byte[]>
. - asFile(Path) - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<Path>
that returns aBodyProcessor
<Path>
obtained fromBodyProcessor.asFile(Path)
. - asFile(Path) - Static method in interface jdk.incubator.http.HttpResponse.BodyProcessor
-
Returns a
BodyProcessor
which stores the response body in a file opened with the given name. - asFile(Path, OpenOption...) - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<Path>
that returns aBodyProcessor
<Path>
obtained fromBodyProcessor.asFile(Path,OpenOption...)
. - asFile(Path, OpenOption...) - Static method in interface jdk.incubator.http.HttpResponse.BodyProcessor
-
Returns a
BodyProcessor
which stores the response body in a file opened with the given options and name. - asFileDownload(Path, OpenOption...) - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<Path>
that returns aBodyProcessor
<Path
> where the download directory is specified, but the filename is obtained from theContent-Disposition
response header. - asMap(Function<HttpRequest, Optional<HttpResponse.BodyHandler<V>>>) - Static method in interface jdk.incubator.http.HttpResponse.MultiProcessor
-
Returns a general purpose handler for multi responses.
- asMap(Function<HttpRequest, Optional<HttpResponse.BodyHandler<V>>>, boolean) - Static method in interface jdk.incubator.http.HttpResponse.MultiProcessor
-
Returns a general purpose handler for multi responses.
- asString() - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<String>
that returns aBodyProcessor
<String>
obtained fromBodyProcessor.asString(Charset)
. - asString(int) - Static method in class jdk.incubator.http.internal.frame.Http2Frame
- asString(Charset) - Static method in interface jdk.incubator.http.HttpResponse.BodyHandler
-
Returns a
BodyHandler<String>
that returns aBodyProcessor
<String>
obtained fromBodyProcessor.asString(Charset)
. - asString(Charset) - Static method in interface jdk.incubator.http.HttpResponse.BodyProcessor
-
Returns a body processor which stores the response body as a
String
converted using the givenCharset
. - AsyncWriteQueue - Class in jdk.incubator.http.internal.common
- AsyncWriteQueue(BiConsumer<ByteBufferReference[], AsyncWriteQueue>) - Constructor for class jdk.incubator.http.internal.common.AsyncWriteQueue
- AsyncWriteQueue(BiConsumer<ByteBufferReference[], AsyncWriteQueue>, boolean) - Constructor for class jdk.incubator.http.internal.common.AsyncWriteQueue
- authenticator() - Method in class jdk.incubator.http.HttpClient
-
Returns an
Optional
containing theAuthenticator
set on this client. - authenticator(Authenticator) - Method in class jdk.incubator.http.HttpClient.Builder
-
Sets an authenticator to use for HTTP authentication.