@Override public LazyBodyReader toBodyReader() { try { return new LazyBodyReader( new FramedBody.ContentLength(getBodyDecoder(), file.length()), new BufferedInputStream(Files.newInputStream(file.toPath()))); } catch (IOException e) { throw new RuntimeException(e); } }
@Override public LazyBodyReader toBodyReader() { try { return new LazyBodyReader( new FramedBody.ContentLength(getBodyDecoder(), file.length()), new BufferedInputStream(Files.newInputStream(file.toPath()))); } catch (IOException e) { throw new RuntimeException(e); } }