users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Single ContainerRequestFilter in pre-match and post-match mode ?

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Tue, 5 Mar 2013 11:48:11 +0000

Hi

Is it valid to have

@PreMatch
@A
public class MyFilter implements ContainerRequestFiler {
}

where @A would bind MyFilter to some resource (method) in a post-match
phase ?
Or does @PreMatch means that MyFilter can only ever be executed in a
pre-match phase ?

Cheers, Sergey