Class WebMvcProperties.Contentnegotiation
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.Contentnegotiation
- Enclosing class:
- WebMvcProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Deprecated.void
setFavorParameter
(boolean favorParameter) void
setFavorPathExtension
(boolean favorPathExtension) Deprecated.void
setMediaTypes
(Map<String, MediaType> mediaTypes) void
setParameterName
(String parameterName)
-
Constructor Details
-
Contentnegotiation
public Contentnegotiation()
-
-
Method Details
-
isFavorPathExtension
@DeprecatedConfigurationProperty(reason="Use of path extensions for request mapping and for content negotiation is discouraged.") @Deprecated public boolean isFavorPathExtension()Deprecated. -
setFavorPathExtension
Deprecated. -
isFavorParameter
public boolean isFavorParameter() -
setFavorParameter
public void setFavorParameter(boolean favorParameter) -
getMediaTypes
-
setMediaTypes
-
getParameterName
-
setParameterName
-