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 1.14.0 API)
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
public class SpincastGsonPluginModule
extends SpincastGuiceModuleBase
Spincast Gson plugin module.
-
-
Constructor Summary
Constructors
Constructor and Description
SpincastGsonPluginModule()
SpincastGsonPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected void
configure()
protected Class<? extends com.google.gson.JsonSerializer<BigDecimal>>
getBigDecimalSerializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<Class<?>>>
getClassSerializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<Date>>
getDateSerializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<Enum<?>>>
getEnumSerializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<Instant>>
getInstantSerializerImpl()
protected Class<? extends com.google.gson.JsonDeserializer<JsonArray>>
getJsonArrayDeserializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<JsonArray>>
getJsonArraySerializerImpl()
protected Class<? extends JsonManager>
getJsonManagerImpl()
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>>
getJsonObjectDeserializerImpl()
protected Class<? extends com.google.gson.JsonSerializer<JsonObject>>
getJsonObjectSerializerImpl()
protected Class<? extends JsonPathUtils>
getJsonPathUtilsImpl()
-
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 Detail
-
SpincastGsonPluginModule
public SpincastGsonPluginModule()
-
SpincastGsonPluginModule
public SpincastGsonPluginModule(Class<? extends RequestContext<?>> requestContextImplementationClass,
Class<? extends WebsocketContext<?>> websocketContextImplementationClass)
-
Method Detail
-
configure
protected void configure()
- Specified by:
configure
in class SpincastGuiceModuleBase
-
getJsonManagerImpl
protected Class<? extends JsonManager> getJsonManagerImpl()
-
getJsonPathUtilsImpl
protected Class<? extends JsonPathUtils> getJsonPathUtilsImpl()
-
getJsonObjectDeserializerImpl
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>> getJsonObjectDeserializerImpl()
-
getJsonArrayDeserializerImpl
protected Class<? extends com.google.gson.JsonDeserializer<JsonArray>> getJsonArrayDeserializerImpl()
-
getJsonObjectSerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<JsonObject>> getJsonObjectSerializerImpl()
-
getJsonArraySerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<JsonArray>> getJsonArraySerializerImpl()
-
getDateSerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<Date>> getDateSerializerImpl()
-
getInstantSerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<Instant>> getInstantSerializerImpl()
-
getBigDecimalSerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<BigDecimal>> getBigDecimalSerializerImpl()
-
getEnumSerializerImpl
protected Class<? extends com.google.gson.JsonSerializer<Enum<?>>> getEnumSerializerImpl()
Copyright © 2019. All rights reserved.