程序包 cn.taketoday.http.client
@NonNullApi
@NonNullFields
package cn.taketoday.http.client
Contains an abstraction over client-side HTTP. This package
contains the
ClientHttpRequest and ClientHttpResponse,
as well as a basic implementation of these interfaces.-
类说明Base implementation of
ClientHttpRequestthat buffers output in a byte array before sending it over the wire.Abstract base forClientHttpRequestthat makes sure that headers and body are not written multiple times.Abstract base forClientHttpRequestthat also implementStreamingHttpOutputMessage.Wrapper for aClientHttpRequestFactorythat buffers all outgoing and incoming streams in memory.Simple implementation ofClientHttpRequestthat wraps another request.Simple implementation ofClientHttpResponsethat reads the response's body into memory, thus allowing for multiple invocations ofBufferingClientHttpResponseWrapper.getBody().Represents a client-side HTTP request.Represents the context of a client-side HTTP request execution.Factory forClientHttpRequestobjects.Abstract base class forClientHttpRequestFactoryimplementations that decorate another request factory.Callback interface for initializing aClientHttpRequestprior to it being used.Intercepts client-side HTTP requests.Represents a client-side HTTP response.ClientHttpResponse DecoratorClientHttpRequestimplementation based on Apache HttpComponents HttpClient.ClientHttpRequestFactoryimplementation that uses Apache HttpComponents HttpClient to create requests.ClientHttpResponseimplementation based on Apache HttpComponents HttpClient.Wrapper for aClientHttpRequestthat has support forClientHttpRequestInterceptors.ClientHttpRequestFactorywrapper with support forClientHttpRequestInterceptors.ClientHttpRequestimplementation based the JavaHttpClient.ClientHttpRequestFactoryimplementation based on the JavaHttpClient.ClientHttpResponseimplementation based on the JavaHttpClient.ClientHttpRequestimplementation based on Jetty'sHttpClient.ClientHttpRequestFactoryimplementation based on Jetty'sHttpClient.ClientHttpResponseimplementation based on based on Jetty'sHttpClient.Prepare the body of a multipart request, resulting in aMultiValueMap<String, HttpEntity>.Builder that allows for further customization of part headers.MultipartBodyBuilder.PublisherEntity<T,P extends org.reactivestreams.Publisher<T>> Specialization ofHttpEntityfor use with aPublisher-based body, for which we also need to keep track of the element type.MultipartBodyBuilder.PublisherPartBuilder<S,P extends org.reactivestreams.Publisher<S>> Bridges betweenOutputStreamandFlow.Publisher<T>.Maps bytes written to inOutputStreamPublisher.OutputStreamHandler.handle(OutputStream)to published items.Defines the contract for handling theOutputStreamprovided by theOutputStreamPublisher.ClientHttpRequestimplementation for the Reactor-Netty HTTP client.Reactor-Netty implementation ofClientHttpRequestFactory.ClientHttpResponseimplementation for the Reactor-Netty HTTP client.ClientHttpRequestimplementation that uses standard JDK facilities to execute buffered requests.ClientHttpRequestFactoryimplementation that uses standard JDK facilities.ClientHttpResponseimplementation that uses standard JDK facilities.