Spring Hateoas

org.springframework.hateoas
Interface ResourceProcessor<T extends ResourceSupport>


public interface ResourceProcessor<T extends ResourceSupport>

SPI interface to allow components to process the ResourceSupport instances returned from Spring MVC controllers.

Author:
Oliver Gierke
See Also:
Resource, Resources

Method Summary
 T process(T resource)
          Processes the given resource, add links, alter the domain data etc.
 

Method Detail

process

T process(T resource)
Processes the given resource, add links, alter the domain data etc.

Parameters:
resource -
Returns:
the processed resource

Spring Hateoas

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