Class ArmeriaHttpExchangeAdapterBuilder
java.lang.Object
com.linecorp.armeria.spring.client.ArmeriaHttpExchangeAdapterBuilder
A builder for creating a new instance of
ArmeriaHttpExchangeAdapter
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly-createdArmeriaHttpExchangeAdapter
based on the properties of this builder.exchangeStrategies
(ExchangeStrategies exchangeStrategies) Sets theExchangeStrategies
that overrides the default strategies.statusHandler
(StatusHandler statusHandler) Adds theStatusHandler
that converts specific errorHttpStatus
s to aThrowable
to be propagated downstream instead of the response.
-
Method Details
-
exchangeStrategies
Sets theExchangeStrategies
that overrides the default strategies. -
statusHandler
Adds theStatusHandler
that converts specific errorHttpStatus
s to aThrowable
to be propagated downstream instead of the response. -
build
Returns a newly-createdArmeriaHttpExchangeAdapter
based on the properties of this builder.
-