Class EmbeddedWrappers

java.lang.Object
org.springframework.hateoas.server.core.EmbeddedWrappers

public class EmbeddedWrappers extends Object
Interface to mark objects that are aware of the rel they'd like to be exposed under.
Author:
Oliver Gierke
  • Constructor Details

    • EmbeddedWrappers

      public EmbeddedWrappers(boolean preferCollections)
      Creates a new EmbeddedWrappers.
      Parameters:
      preferCollections - whether wrappers for single elements should rather treat the value as collection.
  • Method Details