Class ContentType

    • Constructor Detail

      • ContentType

        public ContentType​(String type)
        Parameters:
        type -
    • Method Detail

      • getType

        public String getType()
        Returns:
        content type value
      • encode

        public String encode()
        Returns:
        encoded value in form type *(";" param)
      • decode

        public static ContentType decode​(String val)
        Parameters:
        val -
        Returns:
        parsed content type