@Configuration public class JaxxyExampleConfiguration extends Object
| Constructor and Description |
|---|
JaxxyExampleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CorsFilter |
corsFilter() |
GsonMessageBodyProvider |
gsonMessageBodyProvider(com.google.gson.Gson gson) |
org.apache.cxf.transport.common.gzip.GZIPFeature |
gzipFeature() |
HeadersDecorator |
headersDecorator() |
HelloService |
helloService() |
com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider |
jacksonJsonProvider() |
com.fasterxml.jackson.jaxrs.smile.JacksonSmileProvider |
jacksonSmileProvider() |
com.fasterxml.jackson.jaxrs.yaml.JacksonYAMLProvider |
jacksonYAMLProvider() |
JsonbMessageBodyProvider |
jsonbMessageBodyProvider() |
LoggingContextFilter |
loggingContextFilter(List<LoggingContextDecorator> decorators) |
org.apache.cxf.ext.logging.LoggingFeature |
loggingFeature() |
org.apache.cxf.jaxrs.openapi.OpenApiFeature |
openApiFeature() |
ProtobufMessageBodyProvider |
protobufMessageBodyProvider() |
RequestLogFilter |
requestLogFilter() |
ResourceDecorator |
resourceDecorator() |
org.apache.cxf.jaxrs.swagger.Swagger2Feature |
swagger2Feature() |
@Bean
@ConditionalOnProperty(name="jaxxy.cors.enabled",
matchIfMissing=true,
havingValue="true")
public CorsFilter corsFilter()
@Bean
@ConditionalOnProperty(name="jaxxy.gzipFeature.enabled",
matchIfMissing=true,
havingValue="true")
public org.apache.cxf.transport.common.gzip.GZIPFeature gzipFeature()
@Bean
@ConditionalOnProperty(name="jaxxy.loggingContext.headers.enabled",
matchIfMissing=true,
havingValue="true")
public HeadersDecorator headersDecorator()
@Bean public ProtobufMessageBodyProvider protobufMessageBodyProvider()
@Bean public com.fasterxml.jackson.jaxrs.smile.JacksonSmileProvider jacksonSmileProvider()
@Bean public com.fasterxml.jackson.jaxrs.yaml.JacksonYAMLProvider jacksonYAMLProvider()
@Bean public HelloService helloService()
@Bean
@ConditionalOnProperty(name="jaxxy.json.provider",
havingValue="jsonb")
public JsonbMessageBodyProvider jsonbMessageBodyProvider()
@Bean
@ConditionalOnProperty(name="jaxxy.json.provider",
matchIfMissing=true,
havingValue="gson")
public GsonMessageBodyProvider gsonMessageBodyProvider(com.google.gson.Gson gson)
@Bean
@ConditionalOnProperty(name="jaxxy.json.provider",
havingValue="jackson")
public com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider jacksonJsonProvider()
@Bean
@ConditionalOnProperty(name="jaxxy.loggingContext.enabled",
matchIfMissing=true,
havingValue="true")
public LoggingContextFilter loggingContextFilter(List<LoggingContextDecorator> decorators)
@Bean
@ConditionalOnProperty(name="jaxxy.loggingFeature.enabled",
matchIfMissing=true,
havingValue="true")
public org.apache.cxf.ext.logging.LoggingFeature loggingFeature()
@Bean
@ConditionalOnProperty(name="jaxxy.requestLog.enabled",
matchIfMissing=true,
havingValue="true")
public RequestLogFilter requestLogFilter()
@Bean
@ConditionalOnProperty(name="jaxxy.loggingContext.resource.enabled",
matchIfMissing=true,
havingValue="true")
public ResourceDecorator resourceDecorator()
@Bean
@ConditionalOnProperty(name="jaxxy.swagger.enabled",
matchIfMissing=true,
havingValue="true")
public org.apache.cxf.jaxrs.swagger.Swagger2Feature swagger2Feature()
@Bean
@ConditionalOnProperty(name="jaxxy.openapi.enabled",
matchIfMissing=true,
havingValue="true")
public org.apache.cxf.jaxrs.openapi.OpenApiFeature openApiFeature()
Copyright © 2018. All rights reserved.