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