Package | Description |
---|---|
org.springframework.hateoas.mediatype.hal.forms |
HAL-FORMS extension media type.
|
Modifier and Type | Method and Description |
---|---|
HalFormsConfiguration |
HalFormsConfiguration.customize(com.fasterxml.jackson.databind.ObjectMapper mapper)
Customizes the given
ObjectMapper with the registered callback. |
HalFormsConfiguration |
HalFormsConfiguration.withMediaType(MediaType mediaType)
Registers additional media types that are supposed to be aliases to
MediaTypes.HAL_FORMS_JSON . |
HalFormsConfiguration |
HalFormsConfiguration.withObjectMapperCustomizer(Consumer<com.fasterxml.jackson.databind.ObjectMapper> objectMapperCustomizer)
Register the given
Consumer to apply additional customizations on the ObjectMapper used to render
HAL documents. |
<T> HalFormsConfiguration |
HalFormsConfiguration.withOptions(Class<T> type,
String property,
Function<AffordanceModel.PropertyMetadata,HalFormsOptions> creator)
Returns a new
HalFormsConfiguration with the given |
HalFormsConfiguration |
HalFormsConfiguration.withPattern(Class<?> type,
String pattern)
Registers a regular expression pattern to be used for form descriptions of the given type.
|
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.