Class CollectionModelMixin<T>
java.lang.Object
org.springframework.hateoas.RepresentationModel<CollectionModel<T>>
org.springframework.hateoas.CollectionModel<T>
org.springframework.hateoas.mediatype.hal.CollectionModelMixin<T>
- All Implemented Interfaces:
Iterable<T>,ResolvableTypeProvider
Custom mixin to to render collection content as _embedded.
- Author:
- Alexander Baetz, Oliver Gierke, Greg Turnquist
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.hateoas.CollectionModel
empty, empty, empty, empty, empty, empty, equals, getResolvableType, hashCode, iterator, of, of, of, toString, withFallbackType, withFallbackType, withFallbackType, wrapMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinksMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CollectionModelMixin
public CollectionModelMixin()
-
-
Method Details
-
getContent
Description copied from class:CollectionModelReturns the underlying elements.- Overrides:
getContentin classCollectionModel<T>- Returns:
- the content will never be null.
-