Java org.springframework.util MimeTypeUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util MimeTypeUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util MimeTypeUtils.

The text is from its open source code.

Field

MimeTypeAPPLICATION_JSON
Public constant mime type for application/json .
StringAPPLICATION_JSON_VALUE
A String equivalent of MimeTypeUtils#APPLICATION_JSON .
MimeTypeAPPLICATION_OCTET_STREAM
Public constant mime type for application/octet-stream .
MimeTypeIMAGE_GIF
Public constant mime type for image/gif .
MimeTypeIMAGE_JPEG
Public constant mime type for image/jpeg .
MimeTypeIMAGE_PNG
Public constant mime type for image/png .
StringTEXT_PLAIN_VALUE
A String equivalent of MimeTypeUtils#TEXT_PLAIN .

Method

byte[]generateMultipartBoundary()
Generate a random MIME boundary as bytes, often used in multipart mime types.
StringgenerateMultipartBoundaryString()
Generate a random MIME boundary as String, often used in multipart mime types.
MimeTypeparseMimeType(String mimeType)
Parse the given String into a single MimeType .