public class GsonModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
GsonModule.ByteArrayAdapter |
static class |
GsonModule.ByteListAdapter |
static class |
GsonModule.CDateAdapter |
static class |
GsonModule.CredentialsAdapterFactory
Special cases serialization for LoginCredentials and normalizes all others.
|
static class |
GsonModule.DateAdapter |
static interface |
GsonModule.DefaultExclusionStrategy |
static class |
GsonModule.HexByteArrayAdapter |
static class |
GsonModule.HexByteListAdapter |
static class |
GsonModule.Iso8601DateAdapter |
static class |
GsonModule.JsonAdapterBindings |
static class |
GsonModule.LongDateAdapter |
static class |
GsonModule.NoExclusions |
static class |
GsonModule.NullHackJsonBallAdapter |
static class |
GsonModule.PropertiesAdapter |
Constructor and Description |
---|
GsonModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.gson.TypeAdapter<JsonBall> |
provideJsonBallAdapter(GsonModule.NullHackJsonBallAdapter in) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
@Provides @Singleton protected com.google.gson.TypeAdapter<JsonBall> provideJsonBallAdapter(GsonModule.NullHackJsonBallAdapter in)
protected void configure()
configure
in class com.google.inject.AbstractModule
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.