java.lang.Object
io.helidon.http.media.json.JsonMediaSupportProvider
- All Implemented Interfaces:
ConfiguredProvider<MediaSupport>,ConfiguredProvider<MediaSupport>,MediaSupportProvider
Media support provider for Helidon JSON media support.
This provider creates instances of JsonSupport for handling
JSON serialization and deserialization in HTTP requests and responses.
-
Constructor Details
-
JsonMediaSupportProvider
Deprecated.This class should be only instantiated as part of javaServiceLoader.
-
-
Method Details
-
configKey
Description copied from interface:ConfiguredProviderKey this service implementation is stored under. This is also considered the service "type" when used in a list in configuration, to allow the same service defined more than once.- Specified by:
configKeyin interfaceConfiguredProvider<MediaSupport>- Specified by:
configKeyin interfaceConfiguredProvider<MediaSupport>- Returns:
- key of this implementation
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Specified by:
createin interfaceConfiguredProvider<MediaSupport>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-