Class EmbeddedResourcesAssembler

java.lang.Object
org.springframework.data.rest.webmvc.EmbeddedResourcesAssembler

public class EmbeddedResourcesAssembler extends Object
Author:
Oliver Gierke
  • Constructor Details

    • EmbeddedResourcesAssembler

      public EmbeddedResourcesAssembler(org.springframework.data.mapping.context.PersistentEntities entities, Associations associations, ExcerptProjector projector)
  • Method Details

    • getEmbeddedResources

      public Iterable<org.springframework.hateoas.server.core.EmbeddedWrapper> getEmbeddedResources(Object instance)
      Returns the embedded resources to render. This will add a projection for linkable associations if they have an excerpt projection registered.
      Parameters:
      instance - must not be null.
      Returns: