| Package | Description |
|---|---|
| org.springframework.hateoas.mediatype.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
| org.springframework.hateoas.mediatype.hal.forms |
HAL-FORMS extension media type.
|
| Modifier and Type | Method and Description |
|---|---|
HalConfiguration |
HalConfiguration.customize(com.fasterxml.jackson.databind.ObjectMapper mapper) |
HalConfiguration |
HalConfiguration.withApplyPropertyNamingStrategy(boolean applyPropertyNamingStrategy)
Create a new
HalConfiguration by copying the attributes and replacing the
applyProperNamingStrategy. |
HalConfiguration |
HalConfiguration.withEnforceEmbeddedCollections(boolean enforceEmbeddedCollections)
Create a new
HalConfiguration by copying the attributes and replacing the
enforceEmbeddedCollections. |
HalConfiguration |
HalConfiguration.withMediaType(MediaType mediaType)
Registers additional media types that are supposed to be aliases to
MediaTypes.HAL_JSON. |
HalConfiguration |
HalConfiguration.withObjectMapperCustomizer(Consumer<com.fasterxml.jackson.databind.ObjectMapper> objectMapperCustomizer)
Configures an
ObjectMapper customizer to tweak the instance after it has been pre-configured with all HAL
specific setup. |
HalConfiguration |
HalConfiguration.withRenderSingleLinks(HalConfiguration.RenderSingleLinks renderSingleLinks)
Create a new
HalConfiguration by copying the attributes and replacing the renderSingleLinks. |
HalConfiguration |
HalConfiguration.withRenderSingleLinksFor(LinkRelation relation,
HalConfiguration.RenderSingleLinks renderSingleLinks)
Configures how to render a single link for a given particular
LinkRelation. |
HalConfiguration |
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 (like
search), take wildcards to e.g. match links of a given curie (like acme:*) or even
complete URIs (like https://api.acme.com/foo/**). |
| Constructor and Description |
|---|
HalMediaTypeConfiguration(LinkRelationProvider relProvider,
ObjectProvider<CurieProvider> curieProvider,
ObjectProvider<HalConfiguration> halConfiguration,
MessageResolver resolver,
AutowireCapableBeanFactory beanFactory) |
| Modifier and Type | Method and Description |
|---|---|
HalConfiguration |
HalFormsConfiguration.getHalConfiguration()
Returns the underlying
HalConfiguration. |
| Constructor and Description |
|---|
HalFormsConfiguration(HalConfiguration halConfiguration)
Creates a new
HalFormsConfiguration for the given HalConfiguration. |
Copyright © 2011–2023 Pivotal, Inc.. All rights reserved.