HTTP Client and WebSocket APIs
-
Defines the automatic redirection policy.
The HTTP protocol version.
A read-only view of a set of HTTP headers.
A BodyPublisher
converts high-level Java objects into a flow of
byte buffers suitable for sending as a request body.
A handler for response bodies.
A BodySubscriber
consumes response body bytes and converts them
into a higher-level Java type.
A handler for push promises.
Initial response information supplied to a
BodyHandler
when a response is initially received and before the body is processed.
Thrown when a response is not received within a specified time period.
The receiving interface of WebSocket
.
Thrown when the opening handshake has failed.