Class HalEntityWrapper<T>

java.lang.Object
io.quarkus.hal.HalWrapper
io.quarkus.hal.HalEntityWrapper<T>

public class HalEntityWrapper<T> 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 Details

    • HalEntityWrapper

      public HalEntityWrapper(T entity, jakarta.ws.rs.core.Link... links)
    • HalEntityWrapper

      public HalEntityWrapper(T entity, Map<String,HalLink> links)
  • Method Details

    • getEntity

      public T getEntity()