Package io.quarkus.hal
Class HalCollectionWrapper<T>
java.lang.Object
io.quarkus.hal.HalWrapper
io.quarkus.hal.HalCollectionWrapper<T>
The Hal collection wrapper that includes the list of Hal entities
HalEntityWrapper, the collection name and the Hal
links.
This type is serialized into Json using:
- the JSON-B serializer: HalCollectionWrapperJsonbSerializer
- the Jackson serializer: HalCollectionWrapperJacksonSerializer-
Constructor Summary
ConstructorsConstructorDescriptionHalCollectionWrapper(Collection<HalEntityWrapper<T>> collection, String collectionName, jakarta.ws.rs.core.Link... links) HalCollectionWrapper(Collection<HalEntityWrapper<T>> collection, String collectionName, Map<String, HalLink> links) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class io.quarkus.hal.HalWrapper
addLinks, getLinks
-
Constructor Details
-
HalCollectionWrapper
public HalCollectionWrapper(Collection<HalEntityWrapper<T>> collection, String collectionName, jakarta.ws.rs.core.Link... links) -
HalCollectionWrapper
public HalCollectionWrapper(Collection<HalEntityWrapper<T>> collection, String collectionName, Map<String, HalLink> links)
-
-
Method Details
-
getCollection
-
getCollectionName
-