Marked Jackson 1.x support classes as deprecated
This commit is contained in:
parent
bd4c64af04
commit
8b3afda6f4
|
|
@ -43,12 +43,15 @@ import org.springframework.util.ClassUtils;
|
|||
* Converts from a {@link TextMessage} or {@link BytesMessage} to an object.
|
||||
*
|
||||
* <p><b>NOTE:</b> Requires Jackson 1.8 or higher, as of Spring 4.0.
|
||||
* At the same time, we strongly recommend a migration to Jackson 2.x!
|
||||
*
|
||||
* @author Mark Pollack
|
||||
* @author Dave Syer
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.1
|
||||
* @deprecated Please migrate to {@link MappingJackson2MessageConverter} for Jackson 2.x.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MappingJacksonMessageConverter implements MessageConverter, BeanClassLoaderAware {
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -80,11 +80,14 @@ import org.springframework.beans.factory.InitializingBean;
|
|||
* </pre>
|
||||
*
|
||||
* <p><b>NOTE:</b> Requires Jackson 1.8 or higher, as of Spring 4.0.
|
||||
* At the same time, we strongly recommend a migration to Jackson 2.x!
|
||||
*
|
||||
* @author <a href="mailto:dmitry.katsubo@gmail.com">Dmitry Katsubo</a>
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 3.2
|
||||
* @deprecated Please migrate to {@link Jackson2ObjectMapperFactoryBean} for Jackson 2.x.
|
||||
*/
|
||||
@Deprecated
|
||||
public class JacksonObjectMapperFactoryBean implements FactoryBean<ObjectMapper>, InitializingBean {
|
||||
|
||||
private ObjectMapper objectMapper;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import org.codehaus.jackson.JsonProcessingException;
|
|||
import org.codehaus.jackson.map.ObjectMapper;
|
||||
import org.codehaus.jackson.map.SerializationConfig;
|
||||
import org.codehaus.jackson.type.JavaType;
|
||||
|
||||
import org.springframework.http.HttpInputMessage;
|
||||
import org.springframework.http.HttpOutputMessage;
|
||||
import org.springframework.http.MediaType;
|
||||
|
|
@ -45,11 +46,14 @@ import org.springframework.util.Assert;
|
|||
* {@link #setSupportedMediaTypes supportedMediaTypes} property.
|
||||
*
|
||||
* <p><b>NOTE:</b> Requires Jackson 1.8 or higher, as of Spring 4.0.
|
||||
* At the same time, we strongly recommend a migration to Jackson 2.x!
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.0
|
||||
* @deprecated Please migrate to {@link MappingJackson2HttpMessageConverter} for Jackson 2.x.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MappingJacksonHttpMessageConverter extends AbstractHttpMessageConverter<Object>
|
||||
implements GenericHttpMessageConverter<Object> {
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,9 @@ import org.springframework.web.servlet.view.AbstractView;
|
|||
* @author Rossen Stoyanchev
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.0
|
||||
* @deprecated Please migrate to {@link MappingJackson2JsonView} for Jackson 2.x.
|
||||
*/
|
||||
@Deprecated
|
||||
public class MappingJacksonJsonView extends AbstractView {
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue