public class MultipartFormImpl extends Object implements MultipartForm
| Constructor and Description |
|---|
MultipartFormImpl() |
| Modifier and Type | Method and Description |
|---|---|
MultipartForm |
attribute(String name,
String value)
Add an attribute form data part.
|
MultipartForm |
binaryFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a binary file upload form data part.
|
Iterator<FormDataPart> |
iterator() |
MultipartForm |
textFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a text file upload form data part.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateforEach, spliteratorpublic MultipartForm attribute(String name, String value)
MultipartFormattribute in interface MultipartFormname - the name of the attributevalue - the value of the attributepublic MultipartForm textFileUpload(String name, String filename, String pathname, String mediaType)
MultipartFormtextFileUpload in interface MultipartFormname - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the filepublic MultipartForm binaryFileUpload(String name, String filename, String pathname, String mediaType)
MultipartFormbinaryFileUpload in interface MultipartFormname - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the filepublic Iterator<FormDataPart> iterator()
iterator in interface Iterable<FormDataPart>Copyright © 2020. All rights reserved.