public final class SpringJacksonConfiguration extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(org.springframework.web.client.RestTemplate restTemplate)
Configure Spring RestTemplate, setting up serializers and deserializers for
PropertyBox type handling in
Jackson HttpMessageConverters, if any. |
public static void configure(org.springframework.web.client.RestTemplate restTemplate)
PropertyBox type handling in
Jackson HttpMessageConverters, if any. If no Jackson HttpMessageConverter is registered, a configured
MappingJackson2HttpMessageConverter will be registered in RestTemplate.
In order to this method to work, spring-web artifact must be present in classpath.
restTemplate - RestTemplate to configureCopyright © 2017 The Holon Platform. All rights reserved.