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.withDefaultSingleTemplate(boolean defaultSingleTemplate) Configures whether to use the namedefaultin case only a single template appears.HalFormsConfiguration.withMapperBuilderCustomizer(UnaryOperator<tools.jackson.databind.json.JsonMapper.Builder> customizer) Register the givenUnaryOperatorto apply additional customizations on theJsonMapper.Builderused to render HAL documents.HalFormsConfiguration.withMediaType(org.springframework.http.MediaType mediaType) Registers additional media types that are supposed to be aliases toMediaTypes.HAL_FORMS_JSON.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.