Example usage for Java org.springframework.util MimeTypeUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
MimeType | APPLICATION_JSON Public constant mime type for application/json . |
String | APPLICATION_JSON_VALUE A String equivalent of MimeTypeUtils#APPLICATION_JSON . |
MimeType | APPLICATION_OCTET_STREAM Public constant mime type for application/octet-stream . |
MimeType | IMAGE_GIF Public constant mime type for image/gif . |
MimeType | IMAGE_JPEG Public constant mime type for image/jpeg . |
MimeType | IMAGE_PNG Public constant mime type for image/png . |
String | TEXT_PLAIN_VALUE A String equivalent of MimeTypeUtils#TEXT_PLAIN . |
byte[] | generateMultipartBoundary() Generate a random MIME boundary as bytes, often used in multipart mime types. |
String | generateMultipartBoundaryString() Generate a random MIME boundary as String, often used in multipart mime types. |
MimeType | parseMimeType(String mimeType) Parse the given String into a single MimeType . |