Spring Hateoas

org.springframework.hateoas.config
Annotation Type EnableHypermediaSupport


@Retention(value=RUNTIME)
@Target(value=TYPE)
@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

Required Element Summary
 EnableHypermediaSupport.HypermediaType[] type
          The hypermedia type to be supported.
 

Element Detail

type

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

Returns:

Spring Hateoas

Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.