public static class WebMvcProperties.Contentnegotiation extends Object
Constructor and Description |
---|
Contentnegotiation() |
Modifier and Type | Method and Description |
---|---|
Map<String,MediaType> |
getMediaTypes() |
String |
getParameterName() |
boolean |
isFavorParameter() |
boolean |
isFavorPathExtension()
Deprecated.
|
void |
setFavorParameter(boolean favorParameter) |
void |
setFavorPathExtension(boolean favorPathExtension)
Deprecated.
|
void |
setMediaTypes(Map<String,MediaType> mediaTypes) |
void |
setParameterName(String parameterName) |
@DeprecatedConfigurationProperty(reason="Use of path extensions for request mapping and for content negotiation is discouraged.") @Deprecated public boolean isFavorPathExtension()
@Deprecated public void setFavorPathExtension(boolean favorPathExtension)
public boolean isFavorParameter()
public void setFavorParameter(boolean favorParameter)
public String getParameterName()
public void setParameterName(String parameterName)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.