程序包的使用
cn.taketoday.web.client
使用cn.taketoday.web.client的程序包
程序包
说明
Core package of the client-side web support.
Web client config.
Classes supporting the
cn.taketoday.web.client package.-
类说明Default implementation of the
ResponseErrorHandlerinterface.Default implementation ofRestClient.Builder.Exception thrown when an HTTP 4xx is received.Response extractor that uses the given entity converters to convert the response into a typeT.Exception thrown when an HTTP 5xx is received.Abstract base class for exceptions based on anHttpStatusCode.Callback interface for code that operates on aClientHttpRequest.Exception thrown when an I/O error occurs.Strategy interface used by theRestTemplateto determine whether a particular response has an error or not.Generic callback interface used byRestTemplate's retrieval methods.Client to perform HTTP requests, exposing a fluent, synchronous API over underlying HTTP client libraries such the JDKHttpClient, Apache HttpComponents, and others.A mutable builder for creating aRestClient.Contract for specifying request headers and body leading up to the exchange.Contract for specifying request headers, body and URI for a request.Contract for specifying request headers leading up to the exchange.Defines the contract forRestClient.RequestHeadersSpec.exchange(ExchangeFunction).Contract for specifying request headers and URI for a request.Contract for specifying response operations following the exchange.Contract for specifying the URI for a request.Base class for exceptions thrown byRestTemplatein case a request fails because of a server error response, as determined viaResponseErrorHandler.hasError(ClientHttpResponse), failure to decode the response, or a low level I/O error.Common base class for exceptions that contain actual HTTP response data.Interface specifying a basic set of RESTful operations.Synchronous client to perform HTTP requests, exposing a simple, template method API over underlying HTTP client libraries such as the JDKHttpURLConnection, Apache HttpComponents, and others.Request callback implementation that prepares the request's accept headers.Used byDefaultRestClientandDefaultRestClientBuilder. -
类说明Strategy interface used by the
RestTemplateto determine whether a particular response has an error or not.A mutable builder for creating aRestClient.Synchronous client to perform HTTP requests, exposing a simple, template method API over underlying HTTP client libraries such as the JDKHttpURLConnection, Apache HttpComponents, and others. -
类说明Client to perform HTTP requests, exposing a fluent, synchronous API over underlying HTTP client libraries such the JDK
HttpClient, Apache HttpComponents, and others.Contract for specifying request headers and body leading up to the exchange.Synchronous client to perform HTTP requests, exposing a simple, template method API over underlying HTTP client libraries such as the JDKHttpURLConnection, Apache HttpComponents, and others.