我正在尝试通过遵循RESTeasydocumentation的内容来指定仅与我的一些API调用相关联的预匹配过滤器建议。这是我的代码的样子:名称绑定(bind):@NameBindingpublic@interfaceValidateFoo{}资源:@Path("/foo/bar")@Produces(MediaType.APPLICATION_JSON)publicclassFooBar{@GET@ValidateFoopublicObjectdoStuff(){//dostuff}@POSTpublicObjectdoAnotherStuff(){//doanotherstuff}