public class ThriftCodecBinder extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
bindCustomThriftCodec(Class<? extends ThriftCodec<?>> thriftCodecType) |
void |
bindCustomThriftCodec(com.google.inject.Key<? extends ThriftCodec<?>> thriftCodecKey) |
void |
bindCustomThriftCodec(ThriftCodec<?> thriftCodec) |
void |
bindCustomThriftCodec(com.google.inject.TypeLiteral<? extends ThriftCodec<?>> thriftCodecType) |
void |
bindListThriftCodec(Class<?> type) |
void |
bindMapThriftCodec(Class<?> keyType,
Class<?> valueType) |
void |
bindThriftCodec(Class<?> type) |
void |
bindThriftCodec(com.google.inject.Key<?> key) |
void |
bindThriftCodec(com.google.inject.TypeLiteral<?> type) |
static ThriftCodecBinder |
thriftCodecBinder(com.google.inject.Binder binder) |
public static ThriftCodecBinder thriftCodecBinder(com.google.inject.Binder binder)
public void bindCustomThriftCodec(ThriftCodec<?> thriftCodec)
public void bindCustomThriftCodec(Class<? extends ThriftCodec<?>> thriftCodecType)
public void bindCustomThriftCodec(com.google.inject.TypeLiteral<? extends ThriftCodec<?>> thriftCodecType)
public void bindCustomThriftCodec(com.google.inject.Key<? extends ThriftCodec<?>> thriftCodecKey)
public void bindThriftCodec(Class<?> type)
public void bindThriftCodec(com.google.inject.TypeLiteral<?> type)
public void bindThriftCodec(com.google.inject.Key<?> key)
public void bindListThriftCodec(Class<?> type)
Copyright © 2012–2024. All rights reserved.