Class AbstractExternalProvider
java.lang.Object
com.broadleafcommerce.payment.service.gateway.provider.external.AbstractExternalProvider
- Direct Known Subclasses:
- ExternalAPSProvider
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractExternalProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected <T> TexecuteRequest(Supplier<T> request) Executes a request with default Web Client error handling.protected com.fasterxml.jackson.databind.ObjectMapperprotected org.springframework.web.reactive.function.client.WebClientConvenience method to generate a map of variables.
- 
Constructor Details- 
AbstractExternalProviderpublic AbstractExternalProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) 
 
- 
- 
Method Details- 
executeRequestExecutes a request with default Web Client error handling.- Type Parameters:
- T- the return type of the request operation
- Parameters:
- request- the request to execute
- Returns:
- the value generated by the supplier
 
- 
uriVarsConvenience method to generate a map of variables.- Parameters:
- keysAndValues- the keys and values (in pairs, alternating) to transform into a map
- Returns:
- the keys and values as a map
 
- 
getWebClientprotected org.springframework.web.reactive.function.client.WebClient getWebClient()
- 
getObjectMapperprotected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
 
-