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

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

Introduction

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

The text is from its open source code.

Constructor

MimeType(String type, String subtype, Charset charset)
Create a new MimeType for the given type, subtype, and character set.
MimeType(String type, String subtype, @Nullable Map parameters)
Create a new MimeType for the given type, subtype, and parameters.
MimeType(String type)
Create a new MimeType for the given primary type.

Method

booleanequals(@Nullable Object other)
StringgetParameter(String name)
Return a generic parameter value, given a parameter name.
StringgetSubtype()
Return the subtype.
StringgetType()
Return the primary type.
booleanincludes(@Nullable MimeType other)
Indicate whether this MIME Type includes the given MIME Type.
StringtoString()
MimeTypevalueOf(String value)
Parse the given String value into a MimeType object, with this method name following the 'valueOf' naming convention (as supported by org.springframework.core.convert.ConversionService .