Update AbstractView with method to set content type
Before this change View implementations set the response content type to the fixed value they were configured with. This change makes it possible to configure a View implementation with a more general media type, e.g. "application/*+xml", and then set the response type to the more specific requested media type, e.g. "application/vnd.example-v1+xml". Issue: SPR-9807.
This commit is contained in:
2
src/dist/changelog.txt
vendored
2
src/dist/changelog.txt
vendored
@@ -30,6 +30,8 @@ Changes in version 3.2 RC1 (2012-10-29)
|
||||
* added ObjectToStringHttpMessageConverter that delegates to a ConversionService (SPR-9738)
|
||||
* added Jackson2ObjectMapperBeanFactory (SPR-9739)
|
||||
* added CallableProcessingInterceptor and DeferredResultProcessingInterceptor
|
||||
* added support for wildcard media types in AbstractView and ContentNegotiationViewResolver (SPR-9807)
|
||||
* the jackson message converters now include "application/*+json" in supported media types (SPR-7905)
|
||||
|
||||
Changes in version 3.2 M2 (2012-09-11)
|
||||
--------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user