public.javadoc.org.spincast.plugins.gson.SpincastGsonPluginModule.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastGsonPluginModule (org.spincast:spincast-framework 2.1.1 API)
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
Constructor
Description
SpincastGsonPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
Method Summary
Modifier and Type
Method
Description
protected 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 class SpincastGuiceModuleBase
-
getJsonManagerImpl
-
getJsonPathUtilsImpl
-
getJsonObjectDeserializerImpl
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>> getJsonObjectDeserializerImpl()
-
getJsonArrayDeserializerImpl
-
getJsonObjectSerializerImpl
-
getJsonArraySerializerImpl
-
getDateSerializerImpl
-
getInstantSerializerImpl
-
getBigDecimalSerializerImpl
-
getEnumSerializerImpl
-
getClassSerializerImpl
-
getThrowableSerializerImpl