@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @EnableEntityLinks @Import(value={org.springframework.hateoas.config.HypermediaConfigurationImportSelector.class,org.springframework.hateoas.config.HateoasConfiguration.class,org.springframework.hateoas.config.WebStackImportSelector.class}) public @interface EnableHypermediaSupport
ApplicationContext
. Will register infrastructure beans to support all
appropriate web stacks based on selected HypermediaMappingInformation
-type as well as the classpath.Modifier and Type | Required Element and Description |
---|---|
EnableHypermediaSupport.HypermediaType[] |
type
The hypermedia type to be supported.
|
public abstract EnableHypermediaSupport.HypermediaType[] type
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.