Exposes getter for part converters in FormHttpMessageConverter
Closes gh-25817
This commit is contained in:
parent
bedf2de614
commit
852e904b08
|
@ -231,6 +231,14 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
|
|||
this.partConverters = partConverters;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the {@link #setPartConverters configured} converters for MIME parts.
|
||||
* @since 5.3
|
||||
*/
|
||||
public List<HttpMessageConverter<?>> getPartConverters() {
|
||||
return Collections.unmodifiableList(this.partConverters);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a message body converter. Such a converter is used to convert objects
|
||||
* to MIME parts.
|
||||
|
|
Loading…
Reference in New Issue