@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Import(value={org.springframework.hateoas.config.HypermediaSupportBeanDefinitionRegistrar.class,org.springframework.hateoas.config.HateoasConfiguration.class}) public @interface EnableHypermediaSupport
ApplicationContext
. Will register infrastructure beans available for
injection to ease building hypermedia related code. Which components get registered depends on the hypermedia type
being activated through the type()
attribute. Hypermedia-type-specific implementations of the following
components will be registered:
LinkDiscoverer
LinkDiscoverer
,
EntityLinks
Modifier and Type | Required Element and Description |
---|---|
EnableHypermediaSupport.HypermediaType[] |
type
The hypermedia type to be supported.
|
public abstract EnableHypermediaSupport.HypermediaType[] type
Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.