Uses of Class
org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
-
Uses of PersistentEntityResource.Builder in org.springframework.data.rest.webmvc
Modifier and TypeMethodDescriptionPersistentEntityResource.build
(Object content, org.springframework.data.mapping.PersistentEntity<?, ?> entity) Creates a newPersistentEntityResource.Builder
to createPersistentEntityResource
s eventually.PersistentEntityResource.Builder.withEmbedded
(Iterable<org.springframework.hateoas.server.core.EmbeddedWrapper> resources) Configures the builder to embed the givenEmbeddedWrapper
instances.PersistentEntityResource.Builder.withLink
(org.springframework.hateoas.Link link) Adds the givenLink
to thePersistentEntityResource
.