Class ObjectMapperResolver

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

    public class ObjectMapperResolver
    extends Object
    implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
    Any class with package org.jboss.resteasy.skeleton.key will use NON_DEFAULT inclusion
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Field Detail

      • mapper

        protected com.fasterxml.jackson.databind.ObjectMapper mapper
    • Constructor Detail

      • ObjectMapperResolver

        public ObjectMapperResolver()
    • Method Detail

      • createStreamSerializer

        public static com.fasterxml.jackson.databind.ObjectMapper createStreamSerializer()
      • 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>