Class CustomMimeTypeConverter
- java.lang.Object
-
- org.springframework.cloud.stream.converter.CustomMimeTypeConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.springframework.util.MimeType>
public class CustomMimeTypeConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.springframework.util.MimeType>
A custom converter forMimeType
that accepts a plain java class name as a shorthand forapplication/x-java-object;type=the.qualified.ClassName
.- Author:
- Eric Bottard, David Turanski
-
-
Constructor Summary
Constructors Constructor Description CustomMimeTypeConverter()
-