Uses of Class
org.springframework.hateoas.mediatype.hal.forms.HalFormsConfiguration
Packages that use HalFormsConfiguration
-
Uses of HalFormsConfiguration in org.springframework.hateoas.mediatype.hal.forms
Methods in org.springframework.hateoas.mediatype.hal.forms that return HalFormsConfigurationModifier and TypeMethodDescriptionHalFormsConfiguration.customize
(com.fasterxml.jackson.databind.ObjectMapper mapper) Customizes the givenObjectMapper
with the registered callback.HalFormsConfiguration.withMediaType
(MediaType mediaType) Registers additional media types that are supposed to be aliases toMediaTypes.HAL_FORMS_JSON
.HalFormsConfiguration.withObjectMapperCustomizer
(Consumer<com.fasterxml.jackson.databind.ObjectMapper> objectMapperCustomizer) Register the givenConsumer
to apply additional customizations on theObjectMapper
used to render HAL documents.HalFormsConfiguration.withOptions
(Class<T> type, String property, Function<AffordanceModel.PropertyMetadata, HalFormsOptions> creator) Returns a newHalFormsConfiguration
with the givenHalFormsConfiguration.withPattern
(Class<?> type, String pattern) Registers a regular expression pattern to be used for form descriptions of the given type.