public class DefaultTypeCoercerFactory extends Object implements TypeCoercerFactory
TypeCoercer
s that can convert incoming java structures (from json) into particular
types.Constructor and Description |
---|
DefaultTypeCoercerFactory() |
Modifier and Type | Method and Description |
---|---|
<T extends DataTransferObject> |
getConstructorArgDescriptor(Class<T> dtoType)
Returns an unpopulated DTO object, and the build method which must be called with it when it is
finished being populated.
|
<T> TypeCoercer<?,T> |
typeCoercerForType(com.google.common.reflect.TypeToken<T> typeToken) |
public <T> TypeCoercer<?,T> typeCoercerForType(com.google.common.reflect.TypeToken<T> typeToken)
typeCoercerForType
in interface TypeCoercerFactory
public <T extends DataTransferObject> DataTransferObjectDescriptor<T> getConstructorArgDescriptor(Class<T> dtoType)
TypeCoercerFactory
getConstructorArgDescriptor
in interface TypeCoercerFactory