Skip to content

Commit 87bc55d

Browse files
author
Stephane Landelle
committed
Make MultipartBody.getBoundary public, close AsyncHttpClient#774
1 parent ae3ac52 commit 87bc55d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/src/main/java/org/asynchttpclient/multipart/MultipartBody.java

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

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

0 commit comments

Comments
 (0)