Removed Methods |
ContentNegotiationConfigurer addMediaType(String, MediaType)
|
Add mappings from file extensions to media types. |
ContentNegotiationConfigurer addMediaTypes(Map<String, MediaType>)
|
Add mappings from file extensions to media types. |
ContentNegotiationConfigurer setDefaultContentType(MediaType )
|
Set the default content type. |
ContentNegotiationConfigurer setFavorParameter(boolean )
|
Indicate whether a request parameter should be used to determine the
requested media type with the 2nd highest priority, i.e. |
ContentNegotiationConfigurer setFavorPathExtension(boolean )
|
Indicate whether the extension of the request path should be used to determine
the requested media type with the highest priority. |
ContentNegotiationConfigurer setIgnoreAcceptHeader(boolean )
|
Indicate whether the HTTP {@code Accept} header should be ignored altogether. |
ContentNegotiationConfigurer setParameterName(String )
|
Set the parameter name that can be used to determine the requested media type
if the .setFavorParameter property is {@code true}. |
ContentNegotiationConfigurer setUseJaf(boolean )
|
Indicate whether to use the Java Activation Framework as a fallback option
to map from file extensions to media types. |
Added Methods |
ContentNegotiationConfigurer defaultContentType(MediaType )
|
Set the default content type. |
ContentNegotiationConfigurer favorParameter(boolean )
|
Indicate whether a request parameter should be used to determine the
requested media type with the 2nd highest priority, i.e. |
ContentNegotiationConfigurer favorPathExtension(boolean )
|
Indicate whether the extension of the request path should be used to determine
the requested media type with the highest priority. |
ContentNegotiationConfigurer ignoreAcceptHeader(boolean )
|
Indicate whether the HTTP {@code Accept} header should be ignored altogether. |
ContentNegotiationConfigurer mediaType(String, MediaType)
|
Add mappings from file extensions to media types. |
ContentNegotiationConfigurer mediaTypes(Map<String, MediaType>)
|
Add mappings from file extensions to media types. |
ContentNegotiationConfigurer parameterName(String )
|
Set the parameter name that can be used to determine the requested media type
if the .setFavorParameter property is {@code true}. |
ContentNegotiationConfigurer useJaf(boolean )
|
Indicate whether to use the Java Activation Framework as a fallback option
to map from file extensions to media types. |