public class PropertiesAwareClientFactory extends ClientFactory
Modifier and Type | Field and Description |
---|---|
protected ClientProperties |
clientProperties |
backoffStrategy, client, clientConfiguration, LOG, propertyResolver, requestInterceptors
Constructor and Description |
---|
PropertiesAwareClientFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addBasicAuthInterceptor() |
void |
afterPropertiesSet() |
void |
applyPropertiesFrom(ClientProperties clientConfigurationProps) |
addClientRequestInterceptors, close, getClientConfiguration, getObject, getObjectType, getRequestInterceptors, isSingleton, resolve, setClientBackoffStrategy, setClientConfiguration, setPropertyConfigurer, setRequestInterceptors
@Autowired protected ClientProperties clientProperties
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class ClientFactory
Exception
protected void addBasicAuthInterceptor()
public void applyPropertiesFrom(ClientProperties clientConfigurationProps)
Copyright © 2022. All rights reserved.