public class DefaultTypeCoercerFactory extends Object implements TypeCoercerFactory
TypeCoercers 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 TypeCoercerFactorypublic <T extends DataTransferObject> DataTransferObjectDescriptor<T> getConstructorArgDescriptor(Class<T> dtoType)
TypeCoercerFactorygetConstructorArgDescriptor in interface TypeCoercerFactory