Class CustomHeaderFeature
java.lang.Object
org.glassfish.jersey.examples.managedclient.CustomHeaderFeature
- All Implemented Interfaces:
DynamicFeature
Dynamic feature that appends a properly configured
CustomHeaderFilter instance
to every method that is annotated with @Require internal feature
annotation.- Author:
- Marek Potociar
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceA method annotation to be placed on those resource methods to which a validatingCustomHeaderFilterinstance should be added. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(ResourceInfo resourceInfo, FeatureContext context)
-
Constructor Details
-
CustomHeaderFeature
public CustomHeaderFeature()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceDynamicFeature
-