Class RestEnablingConfiguration.SpecificRestObjectMapperProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
    Enclosing class:
    RestEnablingConfiguration

    @Provider
    public static class RestEnablingConfiguration.SpecificRestObjectMapperProvider
    extends Object
    implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
    • Field Detail

      • STATIC_OBJECT_MAPPER

        public static com.fasterxml.jackson.databind.ObjectMapper STATIC_OBJECT_MAPPER
    • Constructor Detail

      • SpecificRestObjectMapperProvider

        public SpecificRestObjectMapperProvider()
    • Method Detail

      • getContext

        public com.fasterxml.jackson.databind.ObjectMapper getContext​(Class<?> type)
        Specified by:
        getContext in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>