Package org.spincast.plugins.gson
Class SpincastGsonPluginModule
java.lang.Object
com.google.inject.AbstractModule
org.spincast.core.guice.SpincastGuiceModuleBase
org.spincast.plugins.gson.SpincastGsonPluginModule
- All Implemented Interfaces:
com.google.inject.Module
,SpincastContextTypesInterested
Spincast Gson plugin module.
-
Constructor Summary
ConstructorDescriptionSpincastGsonPluginModule
(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Class<? extends com.google.gson.JsonSerializer<BigDecimal>>
protected Class<? extends JsonManager>
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>>
protected Class<? extends com.google.gson.JsonSerializer<JsonObject>>
protected Class<? extends JsonPathUtils>
Methods inherited from class org.spincast.core.guice.SpincastGuiceModuleBase
getRequestContextImplementationClass, getRequestContextInterface, getWebsocketContextImplementationClass, getWebsocketContextInterface, install, parameterizeWithContextInterfaces, parameterizeWithRequestContext, parameterizeWithWebsocketContext, setRequestContextImplementationClass, setWebsocketContextImplementationClass
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SpincastGsonPluginModule
public SpincastGsonPluginModule() -
SpincastGsonPluginModule
public SpincastGsonPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass, Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
-
Method Details
-
configure
protected void configure()- Specified by:
configure
in classSpincastGuiceModuleBase
-
getJsonManagerImpl
-
getJsonPathUtilsImpl
-
getJsonObjectDeserializerImpl
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>> getJsonObjectDeserializerImpl() -
getJsonArrayDeserializerImpl
-
getJsonObjectSerializerImpl
-
getJsonArraySerializerImpl
-
getDateSerializerImpl
-
getInstantSerializerImpl
-
getBigDecimalSerializerImpl
-
getEnumSerializerImpl
-
getClassSerializerImpl
-
getThrowableSerializerImpl
-