@Override public MultiPartBody readFrom(Class<MultiPartBody> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException { return new MultiPartBodyImpl(entityStream, mediaType); }