Uses of Interface
org.springframework.web.service.invoker.HttpExchangeAdapter
Packages that use HttpExchangeAdapter
Package
Description
Classes supporting the
org.springframework.web.client
package.Classes supporting the
org.springframework.web.reactive.function.client
package.Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.Support for creating a registry of HTTP Service client proxies, and declaring
the proxies as beans.
-
Uses of HttpExchangeAdapter in org.springframework.web.client.support
Classes in org.springframework.web.client.support that implement HttpExchangeAdapterModifier and TypeClassDescriptionfinal class
HttpExchangeAdapterDecorator
that suppresses theHttpClientErrorException.NotFound
exception raised on a 404 response and returns aResponseEntity
with the status set toHttpStatus.NOT_FOUND
status, ornull
fromNotFoundRestClientAdapterDecorator.exchangeForBody(org.springframework.web.service.invoker.HttpRequestValues, org.springframework.core.ParameterizedTypeReference<T>)
.final class
HttpExchangeAdapter
that enables anHttpServiceProxyFactory
to useRestClient
for request execution.final class
HttpExchangeAdapter
that enables anHttpServiceProxyFactory
to useRestTemplate
for request execution.Methods in org.springframework.web.client.support that return HttpExchangeAdapterModifier and TypeMethodDescriptionRestClientHttpServiceGroupAdapter.createExchangeAdapter
(RestClient.Builder clientBuilder) Constructors in org.springframework.web.client.support with parameters of type HttpExchangeAdapter -
Uses of HttpExchangeAdapter in org.springframework.web.reactive.function.client.support
Classes in org.springframework.web.reactive.function.client.support that implement HttpExchangeAdapterModifier and TypeClassDescriptionclass
HttpExchangeAdapterDecorator
that suppresses theWebClientResponseException.NotFound
exception resulting from 404 responses and returns aResponseEntity
with the status set toHttpStatus.NOT_FOUND
status, or an emptyMono
fromNotFoundWebClientAdapterDecorator.exchangeForBodyMono(org.springframework.web.service.invoker.HttpRequestValues, org.springframework.core.ParameterizedTypeReference<T>)
.final class
ReactorHttpExchangeAdapter
that enables anHttpServiceProxyFactory
to useWebClient
for request execution.Methods in org.springframework.web.reactive.function.client.support that return HttpExchangeAdapterModifier and TypeMethodDescriptionWebClientHttpServiceGroupAdapter.createExchangeAdapter
(WebClient.Builder clientBuilder) Constructors in org.springframework.web.reactive.function.client.support with parameters of type HttpExchangeAdapter -
Uses of HttpExchangeAdapter in org.springframework.web.service.invoker
Subinterfaces of HttpExchangeAdapter in org.springframework.web.service.invokerModifier and TypeInterfaceDescriptioninterface
Contract to abstract a reactive, HTTP client from HttpServiceProxyFactory and make it pluggable.Classes in org.springframework.web.service.invoker that implement HttpExchangeAdapterModifier and TypeClassDescriptionclass
Convenient base class for aReactorHttpExchangeAdapter
implementation adapting to the synchronousHttpExchangeAdapter
contract.class
HttpExchangeAdapter
that wraps and delegates to another adapter instance.class
ReactorHttpExchangeAdapter
that wraps and delegates to another adapter instance.Methods in org.springframework.web.service.invoker that return HttpExchangeAdapterModifier and TypeMethodDescriptionHttpExchangeAdapterDecorator.getHttpExchangeAdapter()
Return the wrapped delgateHttpExchangeAdapter
.Methods in org.springframework.web.service.invoker with parameters of type HttpExchangeAdapterModifier and TypeMethodDescriptionHttpServiceProxyFactory.builderFor
(HttpExchangeAdapter exchangeAdapter) Return a builder that's initialized with the given client.HttpServiceProxyFactory.Builder.exchangeAdapter
(HttpExchangeAdapter adapter) Provide the HTTP client to perform requests through.Method parameters in org.springframework.web.service.invoker with type arguments of type HttpExchangeAdapterModifier and TypeMethodDescriptionHttpServiceProxyFactory.Builder.exchangeAdapterDecorator
(Function<HttpExchangeAdapter, HttpExchangeAdapter> decorator) Provide a function to wrap the configuredHttpExchangeAdapter
.HttpServiceProxyFactory.Builder.exchangeAdapterDecorator
(Function<HttpExchangeAdapter, HttpExchangeAdapter> decorator) Provide a function to wrap the configuredHttpExchangeAdapter
.Constructors in org.springframework.web.service.invoker with parameters of type HttpExchangeAdapterModifierConstructorDescriptionRequestBodyArgumentResolver
(HttpExchangeAdapter exchangeAdapter) Constructor with aHttpExchangeAdapter
, for access to config settings.RequestPartArgumentResolver
(HttpExchangeAdapter exchangeAdapter) Constructor with aHttpExchangeAdapter
, for access to config settings. -
Uses of HttpExchangeAdapter in org.springframework.web.service.registry
Methods in org.springframework.web.service.registry that return HttpExchangeAdapterModifier and TypeMethodDescriptionHttpServiceGroupAdapter.createExchangeAdapter
(CB clientBuilder) Use the client builder to create anHttpExchangeAdapter
to use to initialize theHttpServiceProxyFactory
for the group.