Package io.micronaut.http.codec
Class DefaultMediaTypeCodecRegistry
java.lang.Object
io.micronaut.http.codec.DefaultMediaTypeCodecRegistry
- All Implemented Interfaces:
MediaTypeCodecRegistry
@Deprecated(forRemoval=true,
since="4.7")
public class DefaultMediaTypeCodecRegistry
extends Object
implements MediaTypeCodecRegistry
Deprecated, for removal: This API element is subject to removal in a future version.
Registry of
MediaTypeCodec
instances.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Find a codec for the given media type.Deprecated, for removal: This API element is subject to removal in a future version.Find a codec for the given media type and target type.Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
findCodec
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MediaTypeCodecRegistry
Find a codec for the given media type.- Specified by:
findCodec
in interfaceMediaTypeCodecRegistry
- Parameters:
mediaType
- TheMediaType
- Returns:
- The codec
-
findCodec
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:MediaTypeCodecRegistry
Find a codec for the given media type and target type.- Specified by:
findCodec
in interfaceMediaTypeCodecRegistry
- Parameters:
mediaType
- TheMediaType
type
- The type- Returns:
- The codec
-
getCodecs
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCodecs
in interfaceMediaTypeCodecRegistry
- Returns:
- The available codecs
-
MessageBodyHandlerRegistry
.