@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> 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findSubtypeDeserializables, getBeanIntrospector
@Inject public DefaultSerdeIntrospections(SerdeConfiguration configuration)
public DefaultSerdeIntrospections()
public <T> io.micronaut.core.beans.BeanIntrospection<T> getSerializableIntrospection(io.micronaut.core.type.Argument<T> type)
SerdeIntrospections
getSerializableIntrospection
in interface SerdeIntrospections
T
- The generic typetype
- The typenull
public <T> io.micronaut.core.beans.BeanIntrospection<T> getDeserializableIntrospection(io.micronaut.core.type.Argument<T> type)
SerdeIntrospections
getDeserializableIntrospection
in interface SerdeIntrospections
T
- The generic typetype
- The typenull