public class ObjectMapperModule extends Object implements com.google.inject.Module
| Constructor and Description |
|---|
ObjectMapperModule() |
ObjectMapperModule(Annotation annotation) |
ObjectMapperModule(Class<? extends Annotation> annotation) |
ObjectMapperModule(com.google.inject.Key<com.fasterxml.jackson.databind.ObjectMapper> objectMapperKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
ObjectMapperModule |
in(Class<? extends Annotation> scopeAnnotation) |
ObjectMapperModule |
registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz) |
ObjectMapperModule |
registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz,
Annotation annotation) |
ObjectMapperModule |
registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz,
Class<? extends Annotation> annotation) |
ObjectMapperModule |
registerModule(com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module> key) |
ObjectMapperModule |
registerModule(com.fasterxml.jackson.databind.Module module) |
ObjectMapperModule |
withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper m) |
public ObjectMapperModule()
public ObjectMapperModule(Class<? extends Annotation> annotation)
public ObjectMapperModule(Annotation annotation)
public ObjectMapperModule(com.google.inject.Key<com.fasterxml.jackson.databind.ObjectMapper> objectMapperKey)
public ObjectMapperModule in(Class<? extends Annotation> scopeAnnotation)
public ObjectMapperModule registerModule(com.fasterxml.jackson.databind.Module module)
public ObjectMapperModule registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz)
public ObjectMapperModule registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz, Class<? extends Annotation> annotation)
public ObjectMapperModule registerModule(Class<? extends com.fasterxml.jackson.databind.Module> clazz, Annotation annotation)
public ObjectMapperModule registerModule(com.google.inject.Key<? extends com.fasterxml.jackson.databind.Module> key)
public ObjectMapperModule withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper m)
m - ObjectMapper to use for newly constructed modulepublic void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.ModuleCopyright © 2020 FasterXML. All rights reserved.