Package-level declarations
Types
A class that builds HTTP requests with custom features like query parameters and authorization.
Properties
This is a BodyHandler
that discards the HTTP response body.
This is a BodyHandler
that handles HTTP response bodies as a ByteArray.
This is a BodyHandler
that handles HTTP response bodies as a Flow of ByteArray.
This is a BodyHandler
that handles HTTP response bodies as a Flow of ByteBuffer.
This is a BodyHandler
that parses the HTTP response into ServerSentEvent objects.
This is a BodyHandler
that handles HTTP response bodies as a Flow of String.
Functions
Converts the body of this HTTP response into a Flow.
Sends an HTTP request and returns the HTTP response.
Sends this HTTP request and returns the HTTP response.
Creates an HTTP DELETE request to the specified URL.
Creates an HTTP GET request to the specified URL.
Creates an HTTP HEAD request to the specified URL.
Creates an HTTP OPTIONS request to the specified URL.
parseAsServerSentEvents parses pieces of string in a stream fashion manner into ServerSentEvent objects. It splits & chunks the flow using the "\n\n" delimiter, which separates different server-sent events in a stream. Once the event is properly parsed, a ServerSentEvent is created and emitted downstream
Creates an HTTP PATCH request to the specified URL.
Creates an HTTP POST request to the specified URL.
Creates an HTTP PUT request to the specified URL.
Creates an HTTP request of the given method type to the specified URL.
Sends each HTTP request in the flow and returns a flow of the HTTP responses.