Package io.helidon.http.media.jackson
Interface JacksonSupportConfig
- All Superinterfaces:
Prototype.Api,Prototype.Factory<JacksonSupport>
- All Known Implementing Classes:
JacksonSupportConfig.BuilderBase.JacksonSupportConfigImpl
Configuration of the
JacksonSupport.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forJacksonSupport.static classJacksonSupportConfig.BuilderBase<BUILDER extends JacksonSupportConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends JacksonSupportConfig> Fluent API builder base forJacksonSupport. -
Method Summary
Modifier and TypeMethodDescriptionstatic JacksonSupportConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static JacksonSupportConfig.Builderbuilder(JacksonSupportConfig instance) Create a new fluent API builder from an existing instance.static JacksonSupportConfigcreate()Create a new instance with default values.static JacksonSupportConfigDeprecated.static JacksonSupportConfigCreate a new instance from configuration.name()Name of the support.JacksonObjectMapperinstance.Jackson configuration properties.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
name
String name()Name of the support. Default value isjackson.- Returns:
- name of the support
-
objectMapper
ObjectMapper objectMapper()JacksonObjectMapperinstance.- Returns:
- jackson object mapper instance
-
properties
Jackson configuration properties. Properties are being ignored if specificJacksonSupportis set. Onlybooleanconfiguration values are supported.- Returns:
- jackson config properties
-
create(io.helidon.config.Config)