"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fluent-hc/src/main/java/org/apache/http/client/fluent/Request.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.

Request.java  (httpcomponents-client-4.5.6-src):Request.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 404 skipping to change at line 404
return body(new InternalByteArrayEntity(b, off, len)); return body(new InternalByteArrayEntity(b, off, len));
} }
/** /**
* @since 4.4 * @since 4.4
*/ */
public Request bodyByteArray(final byte[] b, final int off, final int len, f inal ContentType contentType) { public Request bodyByteArray(final byte[] b, final int off, final int len, f inal ContentType contentType) {
return body(new InternalByteArrayEntity(b, off, len, contentType)); return body(new InternalByteArrayEntity(b, off, len, contentType));
} }
public Request bodyStream(final InputStream instream) { public Request bodyStream(final InputStream inStream) {
return body(new InternalInputStreamEntity(instream, -1, null)); return body(new InternalInputStreamEntity(inStream, -1, null));
} }
public Request bodyStream(final InputStream instream, final ContentType cont public Request bodyStream(final InputStream inStream, final ContentType cont
entType) { entType) {
return body(new InternalInputStreamEntity(instream, -1, contentType)); return body(new InternalInputStreamEntity(inStream, -1, contentType));
} }
@Override @Override
public String toString() { public String toString() {
return this.request.getRequestLine().toString(); return this.request.getRequestLine().toString();
} }
} }
 End of changes. 2 change blocks. 
5 lines changed or deleted 5 lines changed or added

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