public class MultipartBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
boundaryMarker |
| Constructor and Description |
|---|
MultipartBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentPart(ContentPart contentPart) |
void |
addField(String fieldName,
String value) |
void |
addFileContent(String fieldName,
String fileName,
InputStream content) |
void |
finish() |
String |
getContentType() |
byte[] |
toByteArray() |
public String boundaryMarker
public void addContentPart(ContentPart contentPart)
public void addFileContent(String fieldName, String fileName, InputStream content)
public void finish()
public byte[] toByteArray()
public String getContentType()
Copyright © 2022. All rights reserved.