Skip to content

Commit 8abc6fc

Browse files
author
Stephane Landelle
committed
Make MultipartBody.getBoundary public, close AsyncHttpClient#774
1 parent 77eb5b9 commit 8abc6fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/ning/http/client/multipart/MultipartBody.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ public String getContentType() {
6969
return contentType;
7070
}
7171

72+
public byte[] getBoundary() {
73+
return boundary;
74+
}
75+
7276
// RandomAccessBody API, suited for HTTP but not for HTTPS
7377
public long transferTo(long position, WritableByteChannel target) throws IOException {
7478

0 commit comments

Comments
 (0)