Class CustomHeaderFeature
- java.lang.Object
-
- org.glassfish.jersey.examples.managedclient.CustomHeaderFeature
-
- All Implemented Interfaces:
DynamicFeature
public class CustomHeaderFeature extends Object implements DynamicFeature
Dynamic feature that appends a properly configuredCustomHeaderFilterinstance to every method that is annotated with@Requireinternal feature annotation.- Author:
- Marek Potociar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomHeaderFeature.RequireA method annotation to be placed on those resource methods to which a validatingCustomHeaderFilterinstance should be added.
-
Constructor Summary
Constructors Constructor Description CustomHeaderFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(ResourceInfo resourceInfo, FeatureContext context)
-
-
-
Method Detail
-
configure
public void configure(ResourceInfo resourceInfo, FeatureContext context)
- Specified by:
configurein interfaceDynamicFeature
-
-