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
ConstructorsModifierConstructorDescriptionprotected
GsonSupportConfigImpl
(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.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<GsonSupport>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<GsonSupport>
-
name
Description copied from interface:GsonSupportConfig
Name of the support. Default value isgson
.- Specified by:
name
in interfaceGsonSupportConfig
- Returns:
- name of the support
-
gson
public com.google.gson.Gson gson()Description copied from interface:GsonSupportConfig
Gson
instance.- Specified by:
gson
in interfaceGsonSupportConfig
- Returns:
- gson instance
-
properties
Description copied from interface:GsonSupportConfig
Gson configuration properties. Properties are being ignored if specificGson
is set. Onlyboolean
configuration values are supported.- Specified by:
properties
in interfaceGsonSupportConfig
- Returns:
- gson config properties
-
toString
-
equals
-
hashCode
public int hashCode()
-