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 classHttpExchangeAdapterDecoratorthat suppresses theHttpClientErrorException.NotFoundexception raised on a 404 response and returns aResponseEntitywith the status set toHttpStatus.NOT_FOUNDstatus, ornullfromNotFoundRestClientAdapterDecorator.exchangeForBody(HttpRequestValues, ParameterizedTypeReference).final classHttpExchangeAdapterthat enables anHttpServiceProxyFactoryto useRestClientfor request execution.final classHttpExchangeAdapterthat enables anHttpServiceProxyFactoryto useRestTemplatefor 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 TypeClassDescriptionclassHttpExchangeAdapterDecoratorthat suppresses theWebClientResponseException.NotFoundexception resulting from 404 responses and returns aResponseEntitywith the status set toHttpStatus.NOT_FOUNDstatus, or an emptyMonofromNotFoundWebClientAdapterDecorator.exchangeForBodyMono(HttpRequestValues, ParameterizedTypeReference).final classReactorHttpExchangeAdapterthat enables anHttpServiceProxyFactoryto useWebClientfor 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 TypeInterfaceDescriptioninterfaceContract to abstract a reactive, HTTP client from HttpServiceProxyFactory and make it pluggable.Classes in org.springframework.web.service.invoker that implement HttpExchangeAdapterModifier and TypeClassDescriptionclassConvenient base class for aReactorHttpExchangeAdapterimplementation adapting to the synchronousHttpExchangeAdaptercontract.classHttpExchangeAdapterthat wraps and delegates to another adapter instance.classReactorHttpExchangeAdapterthat 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 anHttpExchangeAdapterto use to initialize theHttpServiceProxyFactoryfor the group.