javax.ws.rs.container
Annotation Type PostMatching


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@NameBinding
public @interface PostMatching

Global binding annotation that can be applied to a container request filter to indicate that such filter should be applied globally on all resources in the application but depends on a matched resource information being available.

The JAX-RS runtime will apply the filters marked with the @PostMatching annotation globally to all resources, but only in case the incoming request has been matched to a particular resource method. In case the request has not been matched, the filter implementations annotated with the @PostMatching annotation will not be applied.

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



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