@Singleton public class DefaultSerdeIntrospections extends java.lang.Object implements SerdeIntrospections
SerdeIntrospections interface
which looks up instrospections from BeanIntrospector.SHARED.| Constructor and Description |
|---|
DefaultSerdeIntrospections() |
DefaultSerdeIntrospections(SerdeConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Collection<io.micronaut.core.beans.BeanIntrospection<? extends T>> |
findSubtypeDeserializables(java.lang.Class<T> type)
Gets an subtype introspection for the given type for deserialization.
|
<T> io.micronaut.core.beans.BeanIntrospection<T> |
getDeserializableIntrospection(io.micronaut.core.type.Argument<T> type)
Gets an introspection for the given type for deserialization.
|
<T> io.micronaut.core.beans.BeanIntrospection<T> |
getSerializableIntrospection(io.micronaut.core.type.Argument<T> type)
Gets an introspection for the given type for serialization.
|
protected <T> io.micronaut.core.beans.BeanIntrospection<T> |
resolveIntrospectionForDeserialization(io.micronaut.core.type.Argument<T> type,
io.micronaut.core.beans.BeanIntrospection<T> introspection)
Resolve an introspection.
|
protected <T> io.micronaut.core.beans.BeanIntrospection<T> |
resolveIntrospectionForSerialization(io.micronaut.core.type.Argument<T> type,
io.micronaut.core.beans.BeanIntrospection<T> introspection)
Resolves an introspection for the purpose of serialization.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeanIntrospector@Inject public DefaultSerdeIntrospections(SerdeConfiguration configuration)
public DefaultSerdeIntrospections()
public <T> java.util.Collection<io.micronaut.core.beans.BeanIntrospection<? extends T>> findSubtypeDeserializables(java.lang.Class<T> type)
SerdeIntrospectionsfindSubtypeDeserializables in interface SerdeIntrospectionsT - The generic typetype - The typenullpublic <T> io.micronaut.core.beans.BeanIntrospection<T> getSerializableIntrospection(io.micronaut.core.type.Argument<T> type)
SerdeIntrospectionsgetSerializableIntrospection in interface SerdeIntrospectionsT - The generic typetype - The typenull@NonNull
protected <T> io.micronaut.core.beans.BeanIntrospection<T> resolveIntrospectionForSerialization(@NonNull
io.micronaut.core.type.Argument<T> type,
@NonNull
io.micronaut.core.beans.BeanIntrospection<T> introspection)
T - The generic typetype - The typeintrospection - The introspectionpublic <T> io.micronaut.core.beans.BeanIntrospection<T> getDeserializableIntrospection(io.micronaut.core.type.Argument<T> type)
SerdeIntrospectionsgetDeserializableIntrospection in interface SerdeIntrospectionsT - The generic typetype - The typenull@NonNull
protected <T> io.micronaut.core.beans.BeanIntrospection<T> resolveIntrospectionForDeserialization(@NonNull
io.micronaut.core.type.Argument<T> type,
@NonNull
io.micronaut.core.beans.BeanIntrospection<T> introspection)
T - The generic typetype - The type to resolveintrospection - The introspection