Module io.inverno.mod.http.client
Package io.inverno.mod.http.client
package io.inverno.mod.http.client
Inverno HTTP client API and module configuration.
-
ClassDescriptionThrown when a connection is reset by the peer.Thrown when a connection has timed out.Endpoint<A extends ExchangeContext>An endpoint represents the terminal end in an HTTP communication from a client to a server.Thrown when an endpoint couldn't establish a connection to a server.Exchange<A extends ExchangeContext>Represents an HTTP client exchange (request/response) between a client and a server.An client exchange interceptor is used to intercept a client exchange before a request is actually sent to the server.An HTTP client is used to create an
Endpoint
representing an HTTP server and on which client-to-server HTTP exchanges are initiated.HttpClient.EndpointBuilder<A extends ExchangeContext,B extends Exchange<A>, C extends InterceptedExchange<A>> A builder ofEndpoint
.HTTP client module configuration.Designates a proxy protocol.Base exception class used to report HTTP client errors.Thrown to indicate a protocol upgrade error.InterceptedExchange<A extends ExchangeContext>An intercepted exchange is created in order to apply the exchange interception logic before sending the request.An intercepted request is exposed in theInterceptedExchange
to proxy the original request that is about to be sent to the endpoint and the actual request after it has been sent to the endpoint.An intercepted request body allows to intercept and transform the actual request body sent to the endpoint.An intercepted response is exposed in theInterceptedExchange
to allow an exchange interceptor to provide a response when canceling the request sent by returning an empty exchange Mono.An intercepted response body allows to transform the response payload received from the endpoint and/or provide a response payload in case the request sent is cancelled.A resource payload producer.Part<A>Represents a part in a multipart/form-data request body as defined by RFC 7578.A factory for creatingPart
.Represents a client request in a client exchange.Represents the request payload sent by a client to a server in a client exchange.A Multipart form data producer.A resource data producer.RequestBody.UrlEncoded<A extends Parameter.Factory>A URL encoded data producer.Thrown when a request has timed out.Thrown to indicate that an HTTP/2 steam has been reset by peer.Represents a client response in a client exchange.Represents the response payload received by a client from a server in a client exchange.UnboundExchange<A extends ExchangeContext>