Spring Hateoas

org.springframework.hateoas.config
Annotation Type EnableHypermediaSupport


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Documented
@Import(value=org.springframework.hateoas.config.HypermediaSupportBeanDefinitionRegistrar.class)
public @interface EnableHypermediaSupport

Activates hypermedia support in the 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:

Author:
Oliver Gierke
See Also:
LinkDiscoverer, EntityLinks

Optional Element Summary
 EnableHypermediaSupport.HypermediaType type
          The hypermedia type to be supported.
 

type

public abstract EnableHypermediaSupport.HypermediaType type
The hypermedia type to be supported.

Returns:
Default:
org.springframework.hateoas.config.EnableHypermediaSupport.HypermediaType.DEFAULT

Spring Hateoas

Copyright © 2012-2013 SpringSource, a division of VMware. All Rights Reserved.