parent
d59b2924d3
commit
decb22a93d
|
|
@ -69,7 +69,7 @@ public abstract class AbstractMappingContentNegotiationStrategy extends MappingM
|
|||
|
||||
/**
|
||||
* Whether to only use the registered mappings to look up file extensions,
|
||||
* or also to use dynamic resolution (e.g. via {@link MediaTypeFactory}.
|
||||
* or also to use dynamic resolution (e.g. via {@link MediaTypeFactory}).
|
||||
* <p>By default this is set to {@code false}.
|
||||
*/
|
||||
public void setUseRegisteredExtensionsOnly(boolean useRegisteredExtensionsOnly) {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import org.springframework.lang.Nullable;
|
|||
* lookups between file extensions and MediaTypes in both directions.
|
||||
*
|
||||
* <p>Initially created with a map of file extensions and media types.
|
||||
* Subsequently subclasses can use {@link #addMapping} to add more mappings.
|
||||
* Subsequently, subclasses can use {@link #addMapping} to add more mappings.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @author Juergen Hoeller
|
||||
|
|
|
|||
Loading…
Reference in New Issue