Class CodecConfiguration

java.lang.Object
io.micronaut.http.codec.CodecConfiguration
All Implemented Interfaces:
Named

@EachProperty("micronaut.codec") public class CodecConfiguration extends Object implements Named
Configuration for MediaTypeCodec instances.
Since:
1.0
Author:
James Kleeh
  • Field Details

  • Constructor Details

  • Method Details

    • getAdditionalTypes

      public List<MediaType> getAdditionalTypes()
      Returns:
      Media types in addition to the default that the codec should process
    • setAdditionalTypes

      public void setAdditionalTypes(List<MediaType> additionalTypes)
      Default value (Empty list).
      Parameters:
      additionalTypes - additional types
    • getName

      public String getName()
      Specified by:
      getName in interface Named
      Returns:
      The name of the component