Class WebMvcProperties.Contentnegotiation

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

public static class WebMvcProperties.Contentnegotiation extends Object
Since:
4.0.0
Author:
Phillip Webb, Sébastien Deleuze, Stephane Nicoll, Eddú Meléndez, Brian Clozel, Vedran Pavic
  • Constructor Details

    • Contentnegotiation

      public Contentnegotiation()
  • Method Details

    • isFavorParameter

      public boolean isFavorParameter()
    • setFavorParameter

      public void setFavorParameter(boolean favorParameter)
    • getParameterName

      public String getParameterName()
    • setParameterName

      public void setParameterName(String parameterName)
    • getMediaTypes

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

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

      public List<MediaType> getDefaultContentTypes()
    • setDefaultContentTypes

      public void setDefaultContentTypes(List<MediaType> defaultContentTypes)