Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
5b044356
Commit
5b044356
authored
Nov 21, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify the deprecation status of HttpMapperProperties
parent
08988fd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
HttpMapperProperties.java
...ramework/boot/autoconfigure/web/HttpMapperProperties.java
+3
-0
HttpMessageConvertersAutoConfiguration.java
...configure/web/HttpMessageConvertersAutoConfiguration.java
+2
-0
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMapperProperties.java
View file @
5b044356
...
@@ -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
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration.java
View file @
5b044356
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment