Uses of Class
org.springframework.hateoas.SlicedModel
Packages that use SlicedModel
Package
Description
Value objects to ease creating
Links and link driven representations for REST
webservices.-
Uses of SlicedModel in org.springframework.hateoas
Fields in org.springframework.hateoas declared as SlicedModelMethods in org.springframework.hateoas that return SlicedModelModifier and TypeMethodDescriptionstatic <T> SlicedModel<T>SlicedModel.empty()Creates an emptySlicedModel.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadata.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata, Class<?> fallbackType, Class<?>... generics) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadataand fallback type.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata, Iterable<Link> links) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadataand links.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata, org.springframework.core.ParameterizedTypeReference<T> fallbackType) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadataand fallback type.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata, org.springframework.core.ResolvableType fallbackType) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadataand fallback type.static <T> SlicedModel<T>SlicedModel.empty(@Nullable SlicedModel.SliceMetadata metadata, Link... links) Creates an emptySlicedModelwith the givenSlicedModel.SliceMetadataand links.static <T> SlicedModel<T>Creates an emptySlicedModelwith the given fallback type.static <T> SlicedModel<T>Creates an emptySlicedModelwith the given links.static <T> SlicedModel<T>SlicedModel.empty(org.springframework.core.ParameterizedTypeReference<T> fallbackElementType) Creates an emptySlicedModelwith the given fallback type.static <T> SlicedModel<T>SlicedModel.empty(org.springframework.core.ResolvableType fallbackElementType) Creates an emptySlicedModelwith the given fallback type.static <T> SlicedModel<T>Creates an emptySlicedModelwith the given links.static <T> SlicedModel<T>SlicedModel.of(Collection<T> content, @Nullable SlicedModel.SliceMetadata metadata) static <T> SlicedModel<T>SlicedModel.of(Collection<T> content, @Nullable SlicedModel.SliceMetadata metadata, Iterable<Link> links) static <T> SlicedModel<T>SlicedModel.of(Collection<T> content, @Nullable SlicedModel.SliceMetadata metadata, Link... links) SlicedModel.withFallbackType(Class<? super T> type, Class<?>... generics) SlicedModel.withFallbackType(org.springframework.core.ParameterizedTypeReference<?> type) SlicedModel.withFallbackType(org.springframework.core.ResolvableType type) static <T extends EntityModel<S>,S>
SlicedModel<T>SlicedModel.wrap(Iterable<S> content, SlicedModel.SliceMetadata metadata) Factory method to easily create aSlicedModelinstance from a set of entities and pagination metadata.