程序包 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 ClientHttpRequestInterceptor
to apply a given HTTP Basic Authentication username/password pair, unless a customAuthorization
header has already been set.BasicAuthorizationInterceptor 已过时。 as of 5.1.1, in favor ofBasicAuthenticationInterceptor
which reusesHttpHeaders.setBasicAuth(java.lang.String, java.lang.String)
, sharing its default charset ISO-8859-1 instead of UTF-8 as used hereHttpAccessor Base class forRestTemplate
and other HTTP accessing gateway helpers, defining common properties such as theClientHttpRequestFactory
to operate on.HttpRequestWrapper Provides a convenient implementation of theHttpRequest
interface that can be overridden to adapt the request.InterceptingAsyncHttpAccessor 已过时。 as of Spring 5.0, with no direct replacementInterceptingHttpAccessor Base class forRestTemplate
and other HTTP accessing gateway helpers, adding interceptor-related properties toHttpAccessor
's common properties.ProxyFactoryBean FactoryBean
that creates ajava.net.Proxy
.