Package io.quarkus.hal
Class HalEntityWrapper
- java.lang.Object
-
- io.quarkus.hal.HalWrapper
-
- io.quarkus.hal.HalEntityWrapper
-
public class HalEntityWrapper extends HalWrapper
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
Constructors Constructor Description HalEntityWrapper(Object entity, Map<String,HalLink> links)HalEntityWrapper(Object entity, javax.ws.rs.core.Link... links)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetEntity()-
Methods inherited from class io.quarkus.hal.HalWrapper
addLinks, getLinks
-
-