@Singleton public class JsonStreamMediaTypeCodec extends JsonMediaTypeCodec
MediaType.APPLICATION_JSON_STREAM.| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CONFIGURATION_QUALIFIER | 
applicationConfiguration, codecConfiguration, mediaType, REGULAR_JSON_MEDIA_TYPE_CODEC_NAME| Constructor and Description | 
|---|
| JsonStreamMediaTypeCodec(BeanProvider<JsonMapper> jsonCodec,
                        ApplicationConfiguration applicationConfiguration,
                        CodecConfiguration codecConfiguration) | 
| JsonStreamMediaTypeCodec(JsonMapper jsonMapper,
                        ApplicationConfiguration applicationConfiguration,
                        CodecConfiguration codecConfiguration) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected MapperMediaTypeCodec | cloneWithMapper(JsonMapper mapper) | 
| java.util.Collection<MediaType> | getMediaTypes() | 
cloneWithFeatures, cloneWithViewClass, decode, decode, decode, decode, decode, encode, encode, encode, encode, encode, encode, getJsonMapper, supportsTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, decode, decode, decodepublic static final java.lang.String CONFIGURATION_QUALIFIER
public JsonStreamMediaTypeCodec(JsonMapper jsonMapper, ApplicationConfiguration applicationConfiguration, @Named(value="json-stream") @Nullable CodecConfiguration codecConfiguration)
jsonMapper - To read/write JSONapplicationConfiguration - The common application configurationscodecConfiguration - The configuration for the codec@Inject public JsonStreamMediaTypeCodec(BeanProvider<JsonMapper> jsonCodec, ApplicationConfiguration applicationConfiguration, @Named(value="json-stream") @Nullable CodecConfiguration codecConfiguration)
jsonCodec - To read/write JSONapplicationConfiguration - The common application configurationscodecConfiguration - The configuration for the codecpublic java.util.Collection<MediaType> getMediaTypes()
getMediaTypes in interface MediaTypeCodecgetMediaTypes in class MapperMediaTypeCodecprotected MapperMediaTypeCodec cloneWithMapper(JsonMapper mapper)
cloneWithMapper in class JsonMediaTypeCodec