public interface ResourceDecorator<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesFor(java.lang.Class<?> beanClass) |
default T |
decorateBeforeSerialization(T bean)
This method is called to give this decorator an opportunity to change the content of the model object
before it is serialized.
|
default java.util.List<Link> |
links(T resource,
ResourceContext resourceContext) |
default java.util.List<Link> links(T resource, ResourceContext resourceContext)
boolean appliesFor(java.lang.Class<?> beanClass)
default T decorateBeforeSerialization(T bean)
bean - Model object