@Converter public final class FutureTypeConverter extends TypeConverterSupport
| Constructor and Description |
|---|
FutureTypeConverter(TypeConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convertTo(Class<T> type,
Exchange exchange,
Object value)
Converts the value to the specified type in the context of an exchange
Used when conversion requires extra information from the current
exchange (such as encoding).
|
allowNull, convertTo, mandatoryConvertTo, mandatoryConvertTo, tryConvertTo, tryConvertTopublic FutureTypeConverter(TypeConverter converter)
public <T> T convertTo(Class<T> type, Exchange exchange, Object value)
TypeConvertertype - the requested typeexchange - the current exchangevalue - the value to be convertedApache Camel