Class CommonJacksonConfig

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

    @Provider
    public class CommonJacksonConfig
    extends Object
    implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
    JAX-RS provider for Jackson ObjectMapper.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • CommonJacksonConfig

        public CommonJacksonConfig()
    • 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>