Package org.apache.syncope.core.rest.cxf
Class AddETagFilter
java.lang.Object
org.apache.syncope.core.rest.cxf.AddETagFilter
- All Implemented Interfaces:
ContainerResponseFilter
Adds the
ETag header to any response containing an instance of AnyTO as entity.
The actual ETag value is computed on the basis of last change date (or creation date if not available).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(ContainerRequestContext reqCtx, ContainerResponseContext resCtx)
-
Constructor Details
-
AddETagFilter
public AddETagFilter()
-
-
Method Details
-
filter
- Specified by:
filterin interfaceContainerResponseFilter
-