Module io.helidon.http.media.gson
Package io.helidon.http.media.gson
Class GsonSupportConfig.BuilderBase.GsonSupportConfigImpl
java.lang.Object
io.helidon.http.media.gson.GsonSupportConfig.BuilderBase.GsonSupportConfigImpl
- All Implemented Interfaces:
Prototype.Api,Prototype.Factory<GsonSupport>,GsonSupportConfig,Supplier<GsonSupport>
- Enclosing class:
GsonSupportConfig.BuilderBase<BUILDER extends GsonSupportConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GsonSupportConfig>
protected static class GsonSupportConfig.BuilderBase.GsonSupportConfigImpl
extends Object
implements GsonSupportConfig, Supplier<GsonSupport>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.http.media.gson.GsonSupportConfig
GsonSupportConfig.Builder, GsonSupportConfig.BuilderBase<BUILDER extends GsonSupportConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GsonSupportConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGsonSupportConfigImpl(GsonSupportConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
GsonSupportConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
buildin interfacePrototype.Factory<GsonSupport>- Returns:
- new configured runtime instance
-
get
- Specified by:
getin interfaceSupplier<GsonSupport>
-
name
Description copied from interface:GsonSupportConfigName of the support. Default value isgson.- Specified by:
namein interfaceGsonSupportConfig- Returns:
- name of the support
-
gson
public com.google.gson.Gson gson()Description copied from interface:GsonSupportConfigGsoninstance.- Specified by:
gsonin interfaceGsonSupportConfig- Returns:
- gson instance
-
properties
Description copied from interface:GsonSupportConfigGson configuration properties. Properties are being ignored if specificGsonis set. Onlybooleanconfiguration values are supported.- Specified by:
propertiesin interfaceGsonSupportConfig- Returns:
- gson config properties
-
toString
-
equals
-
hashCode
public int hashCode()
-