| Constructor and Description |
|---|
MediaTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.MediaType |
convertFromText(java.lang.String value,
java.lang.Class<?> targetType,
java.lang.String optionContext) |
boolean |
getAllPossibleValues(java.util.List<Completion> completions,
java.lang.Class<?> targetType,
java.lang.String existingData,
java.lang.String optionContext,
MethodTarget target) |
boolean |
supports(java.lang.Class<?> type,
java.lang.String optionContext) |
public boolean supports(java.lang.Class<?> type,
java.lang.String optionContext)
public org.springframework.http.MediaType convertFromText(java.lang.String value,
java.lang.Class<?> targetType,
java.lang.String optionContext)
convertFromText in interface Converter<org.springframework.http.MediaType>public boolean getAllPossibleValues(java.util.List<Completion> completions, java.lang.Class<?> targetType, java.lang.String existingData, java.lang.String optionContext, MethodTarget target)
getAllPossibleValues in interface Converter<org.springframework.http.MediaType>