Package io.quarkus.hal
Class HalEntityWrapper<T>
java.lang.Object
io.quarkus.hal.HalWrapper
io.quarkus.hal.HalEntityWrapper<T>
The Hal entity wrapper that includes the entity and the Hal links.
This type is serialized into Json using:
- the JSON-B serializer:
HalEntityWrapperJsonbSerializer
- the Jackson serializer: HalEntityWrapperJacksonSerializer-
Constructor Summary
ConstructorsConstructorDescriptionHalEntityWrapper(T entity, jakarta.ws.rs.core.Link... links) HalEntityWrapper(T entity, Map<String, HalLink> links) -
Method Summary
Methods inherited from class io.quarkus.hal.HalWrapper
addLinks, getLinks
-
Constructor Details
-
HalEntityWrapper
-
HalEntityWrapper
-
-
Method Details
-
getEntity
-