Uses of Class
org.springframework.hateoas.mediatype.hal.HalConfiguration
Packages that use HalConfiguration
Package
Description
HAL-specific extensions, SPIs and Jackson customizations.
HAL-FORMS extension media type.
-
Uses of HalConfiguration in org.springframework.hateoas.mediatype.hal
Methods in org.springframework.hateoas.mediatype.hal that return HalConfigurationModifier and TypeMethodDescriptionHalConfiguration.withApplyPropertyNamingStrategy(boolean applyPropertyNamingStrategy) Create a newHalConfigurationby copying the attributes and replacing the applyProperNamingStrategy.HalConfiguration.withEnforceEmbeddedCollections(boolean enforceEmbeddedCollections) Create a newHalConfigurationby copying the attributes and replacing the enforceEmbeddedCollections.HalConfiguration.withMapperBuilderCustomizer(UnaryOperator<tools.jackson.databind.json.JsonMapper.Builder> customizer) Configures anJsonMapper.Buildercustomizer to tweak the instance after it has been pre-configured with all HAL specific setup.HalConfiguration.withMediaType(org.springframework.http.MediaType mediaType) Registers additional media types that are supposed to be aliases toMediaTypes.HAL_JSON.HalConfiguration.withRenderSingleLinks(HalConfiguration.RenderSingleLinks renderSingleLinks) Create a newHalConfigurationby copying the attributes and replacing the renderSingleLinks.HalConfiguration.withRenderSingleLinksFor(String pattern, HalConfiguration.RenderSingleLinks renderSingleLinks) Configures how to render a single link for the given link relation pattern, i.e. this can be either a fixed link relation (likesearch), take wildcards to e.g. match links of a given curie (likeacme:*) or even complete URIs (likehttps://api.acme.com/foo/**).HalConfiguration.withRenderSingleLinksFor(LinkRelation relation, HalConfiguration.RenderSingleLinks renderSingleLinks) Configures how to render a single link for a given particularLinkRelation.Constructors in org.springframework.hateoas.mediatype.hal with parameters of type HalConfigurationModifierConstructorDescriptionHalHandlerInstantiator(LinkRelationProvider provider, CurieProvider curieProvider, MessageResolver resolver, HalConfiguration halConfiguration, org.springframework.beans.factory.config.AutowireCapableBeanFactory delegate) HalLinkListSerializer(@Nullable tools.jackson.databind.BeanProperty property, CurieProvider curieProvider, HalJacksonModule.EmbeddedMapper mapper, MessageResolver resolver, HalConfiguration halConfiguration) HalLinkListSerializer(CurieProvider curieProvider, HalJacksonModule.EmbeddedMapper mapper, MessageResolver resolver, HalConfiguration halConfiguration) HalResourcesSerializer(HalJacksonModule.EmbeddedMapper embeddedMapper, HalConfiguration configuration) HalResourcesSerializer(HalJacksonModule.EmbeddedMapper embeddedMapper, HalConfiguration configuration, @Nullable tools.jackson.databind.BeanProperty property) OptionalListJackson2Serializer(@Nullable tools.jackson.databind.BeanProperty property, HalConfiguration halConfiguration) Creates a newHalJacksonModule.OptionalListJackson2Serializerusing the givenBeanProperty. -
Uses of HalConfiguration in org.springframework.hateoas.mediatype.hal.forms
Methods in org.springframework.hateoas.mediatype.hal.forms that return HalConfigurationModifier and TypeMethodDescriptionHalFormsConfiguration.getHalConfiguration()Returns the underlyingHalConfiguration.Constructors in org.springframework.hateoas.mediatype.hal.forms with parameters of type HalConfigurationModifierConstructorDescriptionHalFormsConfiguration(HalConfiguration halConfiguration) Creates a newHalFormsConfigurationfor the givenHalConfiguration.