Hi All,
Given the mapping below, should LoggingFilter get invoked?
@Provider
@Logged
class LoggingFilter implements ContainerRequestFilter,
ContainerResponseFilter {
…
}
@Path("/")
public class MyResourceClass {
@Path("{name}")
public Foo hello(@PathParam("name") String name) {
return new FooBean(name);
}
}
public interface Foo {
}
public class FooBean implements Foo {
@Logged
@GET
public String hello() {
return "FooBean[" + name + "]";
}
}
Thanks,
Alex