Class JacksonMediaSupportProvider
java.lang.Object
io.helidon.nima.http.media.jackson.JacksonMediaSupportProvider
- All Implemented Interfaces:
Weighted,MediaSupportProvider,Comparable<Weighted>
ServiceLoader provider implementation for Jackson media support.-
Field Summary
Fields inherited from interface io.helidon.common.Weighted
DEFAULT_WEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfiguration key of this media support provider.Create media support based on the provided configuration.doubleweight()Weight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation).
-
Constructor Details
-
JacksonMediaSupportProvider
Deprecated.This class should be only instantiated as part of javaServiceLoader.
-
-
Method Details
-
configKey
Description copied from interface:MediaSupportProviderConfiguration key of this media support provider.- Specified by:
configKeyin interfaceMediaSupportProvider- Returns:
- config key to be used when getting config node to use with
MediaSupportProvider.create(io.helidon.common.config.Config)
-
create
Description copied from interface:MediaSupportProviderCreate media support based on the provided configuration.- Specified by:
createin interfaceMediaSupportProvider- Parameters:
config- configuration of the media support- Returns:
- a new media support to provide readers and writers
-
weight
public double weight()Description copied from interface:WeightedWeight of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use theWeightannotation rather than implementing this interface as long as it is supported by the library using thisWeighted.
-