Package io.micronaut.http.codec
Interface MediaTypeCodecRegistry
- All Known Implementing Classes:
 AnnotatedFunctionRouteBuilder,DefaultLocalFunctionRegistry,DefaultMediaTypeCodecRegistry
Deprecated.
A registry of decoders.
- Since:
 - 1.0
 - Author:
 - Graeme Rocher
 
- 
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Find a codec for the given media type.Deprecated.Find a codec for the given media type and target type.Deprecated.static MediaTypeCodecRegistryof(MediaTypeCodec... codecs) Deprecated.Create a new registry from the given codecs.static MediaTypeCodecRegistryof(Collection<MediaTypeCodec> codecs) Deprecated.Create a new registry from the given codecs. 
- 
Method Details
- 
findCodec
Deprecated.Find a codec for the given media type.- Parameters:
 mediaType- TheMediaType- Returns:
 - The codec
 
 - 
findCodec
Deprecated.Find a codec for the given media type and target type.- Parameters:
 mediaType- TheMediaTypetype- The type- Returns:
 - The codec
 
 - 
getCodecs
Collection<MediaTypeCodec> getCodecs()Deprecated.- Returns:
 - The available codecs
 
 - 
of
Deprecated.Create a new registry from the given codecs.- Parameters:
 codecs- The decoders- Returns:
 - The registry
 
 - 
of
Deprecated.Create a new registry from the given codecs.- Parameters:
 codecs- The decoders- Returns:
 - The registry
 
 
 - 
 
MessageBodyHandlerRegistry.