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 givenObjectMapperwith 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 givenConsumerto apply additional customizations on theObjectMapperused to render HAL documents.HalFormsConfiguration.withOptions(Class<T> type, String property, Function<AffordanceModel.PropertyMetadata, HalFormsOptions> creator) Returns a newHalFormsConfigurationwith the givenHalFormsConfiguration.withPattern(Class<?> type, String pattern) Registers a regular expression pattern to be used for form descriptions of the given type.