public static class Jackson2HalModule.HalHandlerInstantiator
extends com.fasterxml.jackson.databind.cfg.HandlerInstantiator
| Constructor and Description |
|---|
HalHandlerInstantiator(RelProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) |
HalHandlerInstantiator(RelProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory) |
HalHandlerInstantiator(RelProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor accessor,
org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor and AutowireCapableBeanFactory. |
HalHandlerInstantiator(RelProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor accessor,
boolean enforceEmbeddedCollections,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor and whether to enforce embedded collections. |
HalHandlerInstantiator(RelProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonDeserializer<?> |
deserializerInstance(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> deserClass) |
com.fasterxml.jackson.databind.KeyDeserializer |
keyDeserializerInstance(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> keyDeserClass) |
com.fasterxml.jackson.databind.JsonSerializer<?> |
serializerInstance(com.fasterxml.jackson.databind.SerializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> serClass) |
com.fasterxml.jackson.databind.jsontype.TypeIdResolver |
typeIdResolverInstance(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> resolverClass) |
com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> |
typeResolverBuilderInstance(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> builderClass) |
public HalHandlerInstantiator(RelProvider provider, CurieProvider curieProvider, org.springframework.context.support.MessageSourceAccessor accessor, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, HalConfiguration halConfiguration)
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor and AutowireCapableBeanFactory. Registers a prepared
Jackson2HalModule.HalResourcesSerializer and Jackson2HalModule.HalLinkListSerializer falling back to instantiation using the given
AutowireCapableBeanFactory if provided, or simple default constructor instantiation if not.provider - must not be null.curieProvider - can be null.accessor - can be null.beanFactory - can be nullpublic HalHandlerInstantiator(RelProvider provider, CurieProvider curieProvider, org.springframework.context.support.MessageSourceAccessor messageSourceAccessor, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
public HalHandlerInstantiator(RelProvider provider, CurieProvider curieProvider, org.springframework.context.support.MessageSourceAccessor messageSourceAccessor)
public HalHandlerInstantiator(RelProvider provider, CurieProvider curieProvider, org.springframework.context.support.MessageSourceAccessor messageSourceAccessor, HalConfiguration halConfiguration)
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor. Registers a prepared Jackson2HalModule.HalResourcesSerializer and
Jackson2HalModule.HalLinkListSerializer falling back to instantiation expecting a default constructor.provider - must not be null.curieProvider - can be null.messageSourceAccessor - can be null.public HalHandlerInstantiator(RelProvider provider, CurieProvider curieProvider, org.springframework.context.support.MessageSourceAccessor accessor, boolean enforceEmbeddedCollections, HalConfiguration halConfiguration)
Jackson2HalModule.HalHandlerInstantiator using the given RelProvider, CurieProvider and
MessageSourceAccessor and whether to enforce embedded collections. Registers a prepared
Jackson2HalModule.HalResourcesSerializer and Jackson2HalModule.HalLinkListSerializer falling back to instantiation expecting a
default constructor.provider - must not be null.curieProvider - can be nullaccessor - can be null.enforceEmbeddedCollections - public com.fasterxml.jackson.databind.JsonDeserializer<?> deserializerInstance(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> deserClass)
deserializerInstance in class com.fasterxml.jackson.databind.cfg.HandlerInstantiatorpublic com.fasterxml.jackson.databind.KeyDeserializer keyDeserializerInstance(com.fasterxml.jackson.databind.DeserializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> keyDeserClass)
keyDeserializerInstance in class com.fasterxml.jackson.databind.cfg.HandlerInstantiatorpublic com.fasterxml.jackson.databind.JsonSerializer<?> serializerInstance(com.fasterxml.jackson.databind.SerializationConfig config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> serClass)
serializerInstance in class com.fasterxml.jackson.databind.cfg.HandlerInstantiatorpublic com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> typeResolverBuilderInstance(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> builderClass)
typeResolverBuilderInstance in class com.fasterxml.jackson.databind.cfg.HandlerInstantiatorpublic com.fasterxml.jackson.databind.jsontype.TypeIdResolver typeIdResolverInstance(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config,
com.fasterxml.jackson.databind.introspect.Annotated annotated,
Class<?> resolverClass)
typeIdResolverInstance in class com.fasterxml.jackson.databind.cfg.HandlerInstantiatorCopyright © 2012-2016–2017 Pivotal, Inc.. All rights reserved.