APIdia Launch Partner
Top Interfaces Classes
module java.net.http

Package jdk.internal.net.http


Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
CheckedIterable<
the type of elements returned by the produced iterators
E
>

An Iterable clone supporting checked exceptions.

pack-priv interface
CheckedIterator<
the type of elements returned by this iterator
E
>

An Iterator clone supporting checked exceptions.

pack-priv interface
HeaderFilter

A header filter that can examine or modify, typically system headers for requests before they are sent, and responses before they are returned to the user.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractAsyncSSLConnection

Asynchronous version of SSLConnection.

pack-priv abstract class
public class
AltServicesRegistry

A registry for Alternate Services advertised by server endpoints.

pack-priv class
AltSvcProcessor

Responsible for parsing the Alt-Svc values from an Alt-Svc header and/or AltSvc HTTP/2 frame.

pack-priv abstract class
AsyncEvent

Event handling interface from HttpClientImpl's selector.

pack-priv class
AsyncSSLConnection

Asynchronous version of SSLConnection.

pack-priv class
AsyncSSLTunnelConnection

An SSL tunnel built on a Plain (CONNECT) TCP tunnel.

pack-priv class
AsyncTriggerEvent

An asynchronous event which is triggered only once from the selector manager thread as soon as event registration are handled.

pack-priv class
AuthenticationFilter

Implementation of Http Basic authentication.

public class
BufferingSubscriber<T>

A buffering BodySubscriber.

pack-priv class
ConnectionPool

Http 1.1 connection pool.

pack-priv class
pack-priv class
Exchange<T>

One request/response exchange (handles 100/101 intermediate response also).

pack-priv abstract class
ExchangeImpl<T>

Splits request so that headers and body can be sent separately with optional (multiple) responses in between (e.g. 100 Continue).

pack-priv class
pack-priv abstract class
H3FrameOrderVerifier

Verifies that when a HTTP3 frame arrives on a stream, then that particular frame type is in the expected order as compared to the previous frame type that was received.

pack-priv class
pack-priv class
Http1AsyncReceiver

A helper class that will queue up incoming data until the receiving side is ready to handle it.

pack-priv class
Http1Exchange<T>

Encapsulates one HTTP/1.1 request/response exchange.

pack-priv class
pack-priv class
Http1Request

An HTTP/1.1 request.

pack-priv class
Http1Response<T>

Handles a HTTP/1.1 response (headers + body).

pack-priv class
Http2ClientImpl

Http2 specific aspects of HttpClientImpl

pack-priv class
Http2Connection

An Http2Connection.

public abstract class
Http2TerminationCause

Termination cause for an HTTP/2 connection

pack-priv class
Http3ClientImpl

Http3 specific aspects of HttpClientImpl

public class
Http3ClientProperties

A class that groups initial values for HTTP/3 client properties.

public class
Http3Connection

An HTTP/3 connection wraps an HttpQuicConnection and implements HTTP/3 on top it.

pack-priv class
Http3ConnectionPool

This class encapsulate the HTTP/3 connection pool managed by an instance of Http3ClientImpl.

pack-priv class
Http3ExchangeImpl<T>

This class represents an HTTP/3 Request/Response stream.

pack-priv class
Http3PendingConnections

This class keeps track of pending HTTP/3 connections to avoid making two connections to the same server in parallel.

pack-priv class
Http3PushManager

Manages HTTP/3 push promises for an HTTP/3 connection.

pack-priv class
Http3PushPromiseStream<T>

This class represents an HTTP/3 PushPromise stream.

pack-priv abstract class
Http3Stream<
the expected type of the response body
T
>

A common super class for the HTTP/3 request/response stream (Http3ExchangeImpl and the HTTP/3 push promises stream (Http3PushPromiseStream.

public class
public class
HttpClientFacade

An HttpClientFacade is a simple class that wraps an HttpClient implementation and delegates everything to its implementation delegate.

pack-priv class
HttpClientImpl

Client implementation.

pack-priv abstract class
HttpConnection

Wraps socket channel layer and takes care of SSL also.

pack-priv abstract class
HttpQuicConnection

An HttpQuicConnection models an HTTP connection over QUIC.

public class
public class
pack-priv class
HttpResponseImpl<T>

The implementation class for HttpResponse

pack-priv class
public class
LimitingSubscriber<
the response type
T
>

A subscriber limiting the maximum number of bytes that are allowed to be consumed by a downstream subscriber.

public class
LineSubscriberAdapter<S extends Flow.Subscriber<? super String>, R>

An adapter between BodySubscriber and Flow.Subscriber<String>.

pack-priv class
MultiExchange<T>

Encapsulates multiple Exchanges belonging to one HttpRequestImpl.

pack-priv class
PlainHttpConnection

Plain raw TCP connection direct to destination.

pack-priv class
pack-priv class
PlainTunnelingConnection

A plain text socket tunnel through a proxy.

pack-priv class
ProxyAuthenticationRequired

Signals that a proxy has refused a CONNECT request with a 407 error code.

pack-priv class
PullPublisher<T>

A publisher that publishes items obtained from the given CheckedIterable.

pack-priv class
PushGroup<T>

One PushGroup object is associated with the parent Stream of the pushed Streams.

public class
pack-priv class
public class
pack-priv class
Response

Response headers and status code.

public class
pack-priv class
ResponseContent

Implements chunked/fixed transfer encodings of HTTP/1.1 responses.

pack-priv class
public class
public class
pack-priv class
SocketTube

A SocketTube is a terminal tube plugged directly into the socket.

pack-priv class
Stream<T>

Http/2 Stream handling.

pack-priv abstract class
TimeoutEvent

Timeout event notified by selector thread.

pack-priv class
WindowController

A Send Window Flow-Controller that is used to control outgoing Connection and Stream flows, per HTTP/2 connection.

pack-priv abstract class
WindowUpdateSender

A class that tracks the amount of flow controlled data received on an HTTP/2 connection