Class WebMvcProperties.Contentnegotiation

java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.Contentnegotiation
Enclosing class:
WebMvcProperties

public static class WebMvcProperties.Contentnegotiation extends Object
  • 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 public void setFavorPathExtension(boolean favorPathExtension)
      Deprecated.
    • isFavorParameter

      public boolean isFavorParameter()
    • setFavorParameter

      public void setFavorParameter(boolean favorParameter)
    • getMediaTypes

      public Map<String,MediaType> getMediaTypes()
    • setMediaTypes

      public void setMediaTypes(Map<String,MediaType> mediaTypes)
    • getParameterName

      public String getParameterName()
    • setParameterName

      public void setParameterName(String parameterName)