"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fluent-hc/src/main/java/org/apache/http/client/fluent/InternalByteArrayEntity.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

InternalByteArrayEntity.java  (httpcomponents-client-4.5.6-src):InternalByteArrayEntity.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 94 skipping to change at line 94
public long getContentLength() { public long getContentLength() {
return this.len; return this.len;
} }
@Override @Override
public InputStream getContent() { public InputStream getContent() {
return new ByteArrayInputStream(this.b, this.off, this.len); return new ByteArrayInputStream(this.b, this.off, this.len);
} }
@Override @Override
public void writeTo(final OutputStream outstream) throws IOException { public void writeTo(final OutputStream outStream) throws IOException {
Args.notNull(outstream, "Output stream"); Args.notNull(outStream, "Output stream");
outstream.write(this.b, this.off, this.len); outStream.write(this.b, this.off, this.len);
outstream.flush(); outStream.flush();
} }
@Override @Override
public boolean isStreaming() { public boolean isStreaming() {
return false; return false;
} }
} }
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)