@ -91,6 +91,7 @@ public class MappingJackson2HttpMessageConverter extends AbstractJackson2HttpMes
@@ -91,6 +91,7 @@ public class MappingJackson2HttpMessageConverter extends AbstractJackson2HttpMes
@ -104,6 +105,7 @@ public class MappingJackson2HttpMessageConverter extends AbstractJackson2HttpMes
@@ -104,6 +105,7 @@ public class MappingJackson2HttpMessageConverter extends AbstractJackson2HttpMes
@ -69,7 +70,10 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@@ -69,7 +70,10 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@ -87,7 +91,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@@ -87,7 +91,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@ -170,10 +174,14 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@@ -170,10 +174,14 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@ -204,7 +212,10 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@@ -204,7 +212,10 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
@ -79,6 +79,7 @@ public class DefaultSockJsService extends TransportHandlingSockJsService impleme
@@ -79,6 +79,7 @@ public class DefaultSockJsService extends TransportHandlingSockJsService impleme
@ -2030,9 +2030,10 @@ annotations. When further control is needed, a custom `ObjectMapper` can be inje
@@ -2030,9 +2030,10 @@ annotations. When further control is needed, a custom `ObjectMapper` can be inje
through the `ObjectMapper` property for cases where custom JSON
serializers/deserializers need to be provided for specific types.
http://en.wikipedia.org/wiki/JSONP[JSONP] is supported and automatically enabled when
the request has a query parameter named `jsonp` or `callback`. The JSONP query parameter
name(s) could be customized through the `jsonpParameterNames` property.
As of Spring Framework 5.0.7, http://en.wikipedia.org/wiki/JSONP[JSONP] support is
deprecated and requires to customize the JSONP query parameter
name(s) through the `jsonpParameterNames` property. This support will be removed as of
Spring Framework 5.1, <<mvc-cors,CORS>> should be used instead.
@ -2670,6 +2670,11 @@ For controllers relying on view resolution, JSONP is automatically enabled when
@@ -2670,6 +2670,11 @@ For controllers relying on view resolution, JSONP is automatically enabled when
request has a query parameter named `jsonp` or `callback`. Those names can be
customized through `jsonpParameterNames` property.
[NOTE]
====
As of Spring Framework 5.0.7, JSONP support is deprecated and will be removed as of
Spring Framework 5.1, <<mvc-cors,CORS>> should be used instead.