# Hierarchy For Package java.net.http

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - java.net.http.HttpClient (implements java.lang.AutoCloseable)
  - java.net.http.HttpHeaders
  - java.net.http.HttpRequest
  - java.net.http.HttpRequest.BodyPublishers
  - java.net.http.HttpResponse.BodyHandlers
  - java.net.http.HttpResponse.BodySubscribers
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.io.IOException
        - java.net.http.HttpTimeoutException
          - java.net.http.HttpConnectTimeoutException
        - java.net.http.WebSocketHandshakeException

## Interface Hierarchy

- java.util.concurrent.Flow.Publisher<T>
  - java.net.http.HttpRequest.BodyPublisher
- java.util.concurrent.Flow.Subscriber<T>
  - java.net.http.HttpResponse.BodySubscriber<T>
- java.net.http.HttpClient.Builder
- java.net.http.HttpRequest.Builder
- java.net.http.HttpResponse<T>
- java.net.http.HttpResponse.BodyHandler<T>
- java.net.http.HttpResponse.PushPromiseHandler<T>
- java.net.http.HttpResponse.ResponseInfo
- java.net.http.WebSocket
- java.net.http.WebSocket.Builder
- java.net.http.WebSocket.Listener

## Enum Class Hierarchy

- java.lang.Object
  - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable)
    - java.net.http.HttpClient.Redirect
    - java.net.http.HttpClient.Version