org.glassfish.jersey.examples.managedclient
Class CustomHeaderFeature

java.lang.Object
  extended by org.glassfish.jersey.examples.managedclient.CustomHeaderFeature
All Implemented Interfaces:
DynamicFeature

public class CustomHeaderFeature
extends Object
implements DynamicFeature

Dynamic feature that appends a properly configured CustomHeaderFilter instance to every method that is annotated with @Require internal feature annotation.

Author:
Marek Potociar (marek.potociar at oracle.com)

Nested Class Summary
static interface CustomHeaderFeature.Require
          A method annotation to be placed on those resource methods to which a validating CustomHeaderFilter instance should be added.
 
Constructor Summary
CustomHeaderFeature()
           
 
Method Summary
 void configure(ResourceInfo resourceInfo, FeatureContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomHeaderFeature

public CustomHeaderFeature()
Method Detail

configure

public void configure(ResourceInfo resourceInfo,
                      FeatureContext context)
Specified by:
configure in interface DynamicFeature


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.