Class MimeType

    • Field Detail

      • APPLICATION_FORM_URLENCODED

        public static final MimeType APPLICATION_FORM_URLENCODED
      • APPLICATION_JSON

        public static final MimeType APPLICATION_JSON
      • APPLICATION_OCTET_STREAM

        public static final MimeType APPLICATION_OCTET_STREAM
      • APPLICATION_XML

        public static final MimeType APPLICATION_XML
      • MULTIPART_FORM_DATA

        public static final MimeType MULTIPART_FORM_DATA
      • TEXT_HTML

        public static final MimeType TEXT_HTML
      • TEXT_PLAIN

        public static final MimeType TEXT_PLAIN
      • IMAGE_JPG

        public static final MimeType IMAGE_JPG
      • AUDIO_MP3

        public static final MimeType AUDIO_MP3
      • VIDEO_MPEG4

        public static final MimeType VIDEO_MPEG4
      • TEXT_XML

        public static final MimeType TEXT_XML
      • TEXT_JSON

        public static final MimeType TEXT_JSON
      • STREAM_MIMETYPES

        public static final List<MimeType> STREAM_MIMETYPES
    • Constructor Detail

      • MimeType

        public MimeType​(String type)
      • MimeType

        public MimeType​(String type,
                        String subType)
    • Method Detail

      • getType

        public String getType()
      • getSubType

        public String getSubType()
      • isWildcardType

        public boolean isWildcardType()
      • isWildcardSubtype

        public boolean isWildcardSubtype()
      • includes

        public boolean includes​(MimeType other)
        reference of Spring Web
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object