public class ServerDigitalSigningHeaderDecoratorFeature implements DynamicFeature
{
@Override
public void configure(ResourceInfo resourceInfo, FeatureContext configurable)
{
Signed signed = resourceInfo.getResourceMethod().getAnnotation(Signed.class);
if (signed == null)
{
signed = (Signed) resourceInfo.getResourceClass().getAnnotation(Signed.class);
}
if (signed == null) return;