javax.ws.rs.container
Annotation Type PreMatching


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

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 before the actual resource matching occurs.

The JAX-RS runtime will apply the filters marked with the @PreMatching annotation globally to all resources, before the incoming request has been matched to a particular resource method. Any named binding annotations will be ignored on a component annotated with the @PreMatching annotation.

Author:
Marek Potociar



Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.