public class MultiPartForm extends Object
To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
| Constructor and Description |
|---|
MultiPartForm(String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPart(String name,
String fileName,
String type,
byte[] value) |
String |
getBoundary()
Returns the boundary.
|
byte[] |
toByteArray() |
public MultiPartForm(String encoding)
public void addPart(String name, String fileName, String type, byte[] value) throws IOException
IOExceptionpublic byte[] toByteArray()
throws IOException
IOExceptionpublic String getBoundary()
Copyright © 2002-2016 Atlassian. All Rights Reserved.