# Uses of Package
java.net.http

Packages that use java.net.http
Package | Description
--- | ---
java.net.http | HTTP Client and WebSocket APIs

- Classes in java.net.http used by java.net.http
  Class | Description
  --- | ---
  HttpClient | An HTTP Client.
  HttpClient.Builder | A builder of HTTP Clients.
  HttpClient.Redirect | Defines the automatic redirection policy.
  HttpClient.Version | The HTTP protocol version.
  HttpHeaders | A read-only view of a set of HTTP headers.
  HttpRequest | An HTTP request.
  HttpRequest.BodyPublisher | A `BodyPublisher` converts high-level Java objects into a flow of byte buffers suitable for sending as a request body.
  HttpRequest.Builder | A builder of HTTP requests.
  HttpResponse | An HTTP response.
  HttpResponse.BodyHandler | A handler for response bodies.
  HttpResponse.BodySubscriber | A `BodySubscriber` consumes response body bytes and converts them into a higher-level Java type.
  HttpResponse.PushPromiseHandler | A handler for push promises.
  HttpResponse.ResponseInfo | Initial response information supplied to a `BodyHandler` when a response is initially received and before the body is processed.
  HttpTimeoutException | Thrown when a response is not received within a specified time period.
  WebSocket | A WebSocket Client.
  WebSocket.Builder | A builder of WebSocket Clients.
  WebSocket.Listener | The receiving interface of `WebSocket`.
  WebSocketHandshakeException | Thrown when the opening handshake has failed.