public void writeTo(T obj, Class<?> type, Type gType, Annotation[] anns, MediaType mt, MultivaluedMap<String, Object> theheaders, OutputStream os) throws IOException, WebApplicationException { this.setObject(obj); getWriter(type, gType, anns, mt).writeTo(getObject(), type, gType, anns, mt, theheaders, os); }
public void writeTo(T obj, Class<?> type, Type gType, Annotation[] anns, MediaType mt, MultivaluedMap<String, Object> theheaders, OutputStream os) throws IOException, WebApplicationException { this.setObject(obj); getWriter(type, gType, anns, mt).writeTo(getObject(), type, gType, anns, mt, theheaders, os); }