Package 

Enum TextMedia

  • All Implemented Interfaces:
    com.hexagonkt.core.media.MediaType , java.io.Serializable , kotlin.Comparable

    
    public enum TextMedia
    extends Enum<TextMedia> implements MediaType
                        

    Prebuilt text media types. Only validated once at start time (not constructed each time).

    • Constructor Detail

    • Method Detail

      • valueOf

         final TextMedia valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<TextMedia> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.