Class JaxRsCommonAutoConfiguration
- java.lang.Object
-
- net.n2oapp.platform.jaxrs.autoconfigure.JaxRsCommonAutoConfiguration
-
@Configuration @AutoConfigureBefore({org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration.class,JaxRsServerAutoConfiguration.class,JaxRsClientAutoConfiguration.class}) @PropertySource("classpath:/META-INF/net/n2oapp/platform/jaxrs/default.properties") public class JaxRsCommonAutoConfiguration extends Object- Since:
- 14.01.2019
- Author:
- RMakhmutov
-
-
Constructor Summary
Constructors Constructor Description JaxRsCommonAutoConfiguration(List<MapperConfigurer> mapperConfigurers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMappercxfObjectMapper()TypedParamConverter<Date>dateParameterConverter()TypedParamConverter<LocalDateTime>localDateTimeParameterConverter()TypedParamConverter<org.springframework.data.domain.Sort.Order>sortParameterConverter()TypedParamConverter<ZonedDateTime>zonedDateTimeTypedParamConverter()
-
-
-
Constructor Detail
-
JaxRsCommonAutoConfiguration
public JaxRsCommonAutoConfiguration(@Autowired(required=false) List<MapperConfigurer> mapperConfigurers)
-
-
Method Detail
-
cxfObjectMapper
@ConditionalOnMissingBean(name="cxfObjectMapper") @Primary @Bean("cxfObjectMapper") public com.fasterxml.jackson.databind.ObjectMapper cxfObjectMapper()
-
dateParameterConverter
@Bean @Conditional(MissingGenericBean.class) public TypedParamConverter<Date> dateParameterConverter()
-
localDateTimeParameterConverter
@Bean @Conditional(MissingGenericBean.class) public TypedParamConverter<LocalDateTime> localDateTimeParameterConverter()
-
sortParameterConverter
@Bean public TypedParamConverter<org.springframework.data.domain.Sort.Order> sortParameterConverter()
-
zonedDateTimeTypedParamConverter
@Bean @Conditional(MissingGenericBean.class) public TypedParamConverter<ZonedDateTime> zonedDateTimeTypedParamConverter()
-
-