public T readFrom(Class<T> type, Type gType, Annotation[] anns, MediaType mt, MultivaluedMap<String, String> theheaders, InputStream is) throws IOException, WebApplicationException { this.setObject( getReader(type, gType, anns, mt).readFrom(type, gType, anns, mt, theheaders, is)); return getObject(); }
public T readFrom(Class<T> type, Type gType, Annotation[] anns, MediaType mt, MultivaluedMap<String, String> theheaders, InputStream is) throws IOException, WebApplicationException { this.setObject( getReader(type, gType, anns, mt).readFrom(type, gType, anns, mt, theheaders, is)); return getObject(); }