public class ClientDigitalVerificationHeaderDecoratorFeature implements DynamicFeature
{
@Override
public void configure(ResourceInfo resourceInfo, FeatureContext configurable)
{
Verify verify = resourceInfo.getResourceMethod().getAnnotation(Verify.class);
Verifications verifications = resourceInfo.getResourceClass().getAnnotation(Verifications.class);
if (verify != null || verifications != null)
{
configurable.register(new DigitalVerificationHeaderDecorator(verify, verifications));