Commit 5b044356 authored by Dave Syer's avatar Dave Syer

Clarify the deprecation status of HttpMapperProperties

parent 08988fd1
...@@ -18,6 +18,7 @@ package org.springframework.boot.autoconfigure.web; ...@@ -18,6 +18,7 @@ package org.springframework.boot.autoconfigure.web;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.springframework.boot.autoconfigure.jackson.JacksonProperties;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter;
...@@ -26,6 +27,8 @@ import com.fasterxml.jackson.databind.SerializationFeature; ...@@ -26,6 +27,8 @@ import com.fasterxml.jackson.databind.SerializationFeature;
/** /**
* Configuration properties to configure {@link HttpMessageConverter}s. * Configuration properties to configure {@link HttpMessageConverter}s.
* *
* @deprecated pleas use {@link JacksonProperties} instead
*
* @author Dave Syer * @author Dave Syer
* @author Piotr Maj * @author Piotr Maj
* @author Sebastien Deleuze * @author Sebastien Deleuze
......
...@@ -71,6 +71,8 @@ public class HttpMessageConvertersAutoConfiguration { ...@@ -71,6 +71,8 @@ public class HttpMessageConvertersAutoConfiguration {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
protected static class MappingJackson2HttpMessageConverterConfiguration { protected static class MappingJackson2HttpMessageConverterConfiguration {
// This can be removed when the deprecated class is removed (the ObjectMapper will
// already have all the correct properties).
@Autowired @Autowired
private HttpMapperProperties properties = new HttpMapperProperties(); private HttpMapperProperties properties = new HttpMapperProperties();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment