Class JerseyClientAutoConfiguration
java.lang.Object
au.net.causal.shoelaces.jerseyclient.JerseyClientAutoConfiguration
@Configuration
@ConditionalOnClass(javax.ws.rs.client.Client.class)
public class JerseyClientAutoConfiguration
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description JerseyClientAutoConfiguration() -
Method Summary
Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMapperconfigureObjectMapperForJersey(java.util.Optional<java.util.Collection<? extends JerseyClientObjectMapperConfigurer>> objectMapperConfigurers, com.fasterxml.jackson.databind.ObjectMapper existingObjectMapper)JerseyClientBuilderConfigurerjacksonObjectMapperJerseyClientConfigurer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)JerseyClientFactoryjerseyClientFactory(java.util.Optional<java.util.Collection<? extends JerseyClientBuilderConfigurer>> builderConfigurers, java.util.Optional<java.util.Collection<? extends JerseyClientConfigurer>> clientConfigurers)
-
Constructor Details
-
JerseyClientAutoConfiguration
public JerseyClientAutoConfiguration()
-
-
Method Details
-
jerseyClientFactory
@Bean @ConditionalOnMissingBean(JerseyClientFactory.class) public JerseyClientFactory jerseyClientFactory(java.util.Optional<java.util.Collection<? extends JerseyClientBuilderConfigurer>> builderConfigurers, java.util.Optional<java.util.Collection<? extends JerseyClientConfigurer>> clientConfigurers) -
configureObjectMapperForJersey
@Bean public com.fasterxml.jackson.databind.ObjectMapper configureObjectMapperForJersey(java.util.Optional<java.util.Collection<? extends JerseyClientObjectMapperConfigurer>> objectMapperConfigurers, com.fasterxml.jackson.databind.ObjectMapper existingObjectMapper) -
jacksonObjectMapperJerseyClientConfigurer
@Bean public JerseyClientBuilderConfigurer jacksonObjectMapperJerseyClientConfigurer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-