Class ObjectMapperModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class ObjectMapperModule
    extends Object
    implements com.google.inject.Module
    • Constructor Detail

      • ObjectMapperModule

        public ObjectMapperModule()
      • ObjectMapperModule

        public ObjectMapperModule​(Class<? extends Annotation> annotation)
      • ObjectMapperModule

        public ObjectMapperModule​(Annotation annotation)
      • ObjectMapperModule

        public ObjectMapperModule​(com.google.inject.Key<com.fasterxml.jackson.databind.ObjectMapper> objectMapperKey)
    • Method Detail

      • registerModule

        public ObjectMapperModule registerModule​(com.fasterxml.jackson.databind.Module module)
      • registerModule

        public ObjectMapperModule registerModule​(Class<? extends com.fasterxml.jackson.databind.Module> clazz)
      • registerModule

        public ObjectMapperModule registerModule​(com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module> key)
      • withObjectMapper

        public ObjectMapperModule withObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper m)
        Parameters:
        m - ObjectMapper to use for newly constructed module
        Since:
        2.8
      • configure

        public void configure​(com.google.inject.Binder binder)
        Specified by:
        configure in interface com.google.inject.Module