Enum Class MimeType

java.lang.Object
java.lang.Enum<MimeType>
burp.api.montoya.http.message.MimeType
All Implemented Interfaces:
Serializable, Comparable<MimeType>, Constable

public enum MimeType extends Enum<MimeType>
MIME types that are recognised by Burp.
  • Enum Constant Details

    • NONE

      public static final MimeType NONE
    • UNRECOGNIZED

      public static final MimeType UNRECOGNIZED
    • AMBIGUOUS

      public static final MimeType AMBIGUOUS
    • HTML

      public static final MimeType HTML
    • PLAIN_TEXT

      public static final MimeType PLAIN_TEXT
    • CSS

      public static final MimeType CSS
    • SCRIPT

      public static final MimeType SCRIPT
    • JSON

      public static final MimeType JSON
    • RTF

      public static final MimeType RTF
    • XML

      public static final MimeType XML
    • YAML

      public static final MimeType YAML
    • IMAGE_UNKNOWN

      public static final MimeType IMAGE_UNKNOWN
    • IMAGE_JPEG

      public static final MimeType IMAGE_JPEG
    • IMAGE_GIF

      public static final MimeType IMAGE_GIF
    • IMAGE_PNG

      public static final MimeType IMAGE_PNG
    • IMAGE_BMP

      public static final MimeType IMAGE_BMP
    • IMAGE_TIFF

      public static final MimeType IMAGE_TIFF
    • IMAGE_SVG_XML

      public static final MimeType IMAGE_SVG_XML
    • SOUND

      public static final MimeType SOUND
    • VIDEO

      public static final MimeType VIDEO
    • APPLICATION_FLASH

      public static final MimeType APPLICATION_FLASH
    • APPLICATION_UNKNOWN

      public static final MimeType APPLICATION_UNKNOWN
    • FONT_WOFF

      public static final MimeType FONT_WOFF
    • FONT_WOFF2

      public static final MimeType FONT_WOFF2
    • LEGACY_SER_AMF

      public static final MimeType LEGACY_SER_AMF
  • Method Details

    • values

      public static MimeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MimeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • description

      public String description()
      Returns:
      MIME type description.