public class WebConverters extends Object
HttpMessageConverters.| Modifier and Type | Method and Description |
|---|---|
void |
augmentClient(List<HttpMessageConverter<?>> converters) |
void |
augmentServer(List<HttpMessageConverter<?>> converters)
Augments the given
List of HttpMessageConverters with the hypermedia enabled ones. |
static WebConverters |
of(com.fasterxml.jackson.databind.ObjectMapper mapper,
List<HypermediaMappingInformation> mappingInformations)
|
public static WebConverters of(com.fasterxml.jackson.databind.ObjectMapper mapper, List<HypermediaMappingInformation> mappingInformations)
mapper - must not be null.mappingInformations - must not be null.public void augmentServer(List<HttpMessageConverter<?>> converters)
List of HttpMessageConverters with the hypermedia enabled ones.converters - must not be null.public void augmentClient(List<HttpMessageConverter<?>> converters)
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.