I see the use of @Context in this example but the docs state:
"Injection of contexts into message body providers is not supported yet."
Which is correct? -Anthony
@Context public void setUriInfo(UriInfo ui) { currentQuery = ui.getQueryparameters(); }void writeTo(Contacts cs, Class<Contacts> clazz, ..., OutputStream os) {// write start tag for (Contact c : cs) {if (c.getName().equals(currentQuery.getFirst("firstName"))) {// write } } // write end tag } }
