Class JsonStreamMediaTypeCodec

All Implemented Interfaces:
MediaTypeCodec

Deprecated, for removal: This API element is subject to removal in a future version.
Replaced with message body writers / readers API
A codec for MediaType.APPLICATION_JSON_STREAM.

Note: will be replaced by JsonStreamMediaTypeCodec in the future, but that class is currently experimental.

Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • CONFIGURATION_QUALIFIER

      public static final String CONFIGURATION_QUALIFIER
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • JsonStreamMediaTypeCodec

      public JsonStreamMediaTypeCodec(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ApplicationConfiguration applicationConfiguration, @Named("json-stream") @Nullable @Nullable CodecConfiguration codecConfiguration)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      objectMapper - To read/write JSON
      applicationConfiguration - The common application configurations
      codecConfiguration - The configuration for the codec
    • JsonStreamMediaTypeCodec

      @Inject public JsonStreamMediaTypeCodec(BeanProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, ApplicationConfiguration applicationConfiguration, @Named("json-stream") @Nullable @Nullable CodecConfiguration codecConfiguration)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      objectMapper - To read/write JSON
      applicationConfiguration - The common application configurations
      codecConfiguration - The configuration for the codec
  • Method Details