如何@NameBinding在Jersey中使用过滤器对特定资源方法或资源类应用过滤器?
@NameBinding
请考虑以下注释:
@NameBinding @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.TYPE}) public @interface SomeAnnotaion{}
它是如何工作的?
java rest jersey
java ×1
jersey ×1
rest ×1