@Beta public class SmileCodecFactory extends Object
| Constructor and Description |
|---|
SmileCodecFactory() |
SmileCodecFactory(javax.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper> smileObjectMapperProvider) |
| Modifier and Type | Method and Description |
|---|---|
<T> SmileCodec<List<T>> |
listSmileCodec(Class<T> type) |
<T> SmileCodec<List<T>> |
listSmileCodec(SmileCodec<T> type) |
<K,V> SmileCodec<Map<K,V>> |
mapSmileCodec(Class<K> keyType,
Class<V> valueType) |
<K,V> SmileCodec<Map<K,V>> |
mapSmileCodec(Class<K> keyType,
SmileCodec<V> valueType) |
<T> SmileCodec<T> |
smileCodec(Class<T> type) |
<T> SmileCodec<T> |
smileCodec(Type type) |
<T> SmileCodec<T> |
smileCodec(com.google.common.reflect.TypeToken<T> type) |
public SmileCodecFactory()
@Inject public SmileCodecFactory(javax.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper> smileObjectMapperProvider)
public <T> SmileCodec<T> smileCodec(Class<T> type)
public <T> SmileCodec<T> smileCodec(Type type)
public <T> SmileCodec<T> smileCodec(com.google.common.reflect.TypeToken<T> type)
public <T> SmileCodec<List<T>> listSmileCodec(Class<T> type)
public <T> SmileCodec<List<T>> listSmileCodec(SmileCodec<T> type)
public <K,V> SmileCodec<Map<K,V>> mapSmileCodec(Class<K> keyType, Class<V> valueType)
public <K,V> SmileCodec<Map<K,V>> mapSmileCodec(Class<K> keyType, SmileCodec<V> valueType)
Copyright © 2010–2024 Airlift. All rights reserved.