程序包 org.springframework.http.client.support
This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.
类概要 类 说明 AsyncHttpAccessor 已过时。 as of Spring 5.0, with no direct replacementBasicAuthenticationInterceptor ClientHttpRequestInterceptorto apply a given HTTP Basic Authentication username/password pair, unless a customAuthorizationheader has already been set.BasicAuthorizationInterceptor 已过时。 as of 5.1.1, in favor ofBasicAuthenticationInterceptorwhich reusesHttpHeaders.setBasicAuth(java.lang.String, java.lang.String), sharing its default charset ISO-8859-1 instead of UTF-8 as used hereHttpAccessor Base class forRestTemplateand other HTTP accessing gateway helpers, defining common properties such as theClientHttpRequestFactoryto operate on.HttpRequestWrapper Provides a convenient implementation of theHttpRequestinterface that can be overridden to adapt the request.InterceptingAsyncHttpAccessor 已过时。 as of Spring 5.0, with no direct replacementInterceptingHttpAccessor Base class forRestTemplateand other HTTP accessing gateway helpers, adding interceptor-related properties toHttpAccessor's common properties.ProxyFactoryBean FactoryBeanthat creates ajava.net.Proxy.