Annotation Type PreMatching


  • @Target(TYPE)
    @Retention(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