Search in sources :

Example 1 with LoggingFilter

use of org.apache.cxf.systests.cdi.base.bindings.LoggingFilter in project cxf by apache.

the class BookStoreCustomApplication method getSingletons.

@Override
public Set<Object> getSingletons() {
    Set<Object> singletons = new HashSet<>();
    singletons.add(new JacksonJsonProvider());
    singletons.add(new ValidationExceptionMapper());
    singletons.add(new JAXRSBeanValidationFeature());
    singletons.add(new LoggingFilter());
    return singletons;
}
Also used : JAXRSBeanValidationFeature(org.apache.cxf.jaxrs.validation.JAXRSBeanValidationFeature) JacksonJsonProvider(com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider) LoggingFilter(org.apache.cxf.systests.cdi.base.bindings.LoggingFilter) ValidationExceptionMapper(org.apache.cxf.jaxrs.validation.ValidationExceptionMapper) HashSet(java.util.HashSet) LinkedHashSet(java.util.LinkedHashSet)

Aggregations

JacksonJsonProvider (com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider)1 HashSet (java.util.HashSet)1 LinkedHashSet (java.util.LinkedHashSet)1 JAXRSBeanValidationFeature (org.apache.cxf.jaxrs.validation.JAXRSBeanValidationFeature)1 ValidationExceptionMapper (org.apache.cxf.jaxrs.validation.ValidationExceptionMapper)1 LoggingFilter (org.apache.cxf.systests.cdi.base.bindings.LoggingFilter)1