Constructor and Description |
---|
MultipartNode(Context ctx,
String name) |
Modifier and Type | Method and Description |
---|---|
FileUpload |
file(String name)
A file upload that matches the given field name.
|
List<FileUpload> |
files()
All file uploads.
|
List<FileUpload> |
files(String name)
All file uploads that matches the given field name.
|
void |
put(String name,
FileUpload file)
Put/Add a file into this multipart request.
|
get, get, iterator, name, put, put, put, put, size, to, toList, toList, toMultimap, toOptional, toSet, toSet, toString, value
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, get, iterator, resolve, resolve, resolve, resolve, size
forEach, spliterator
array, booleanValue, booleanValue, byteValue, byteValue, create, create, doubleValue, doubleValue, floatValue, floatValue, hash, intValue, intValue, isArray, isMissing, isObject, isSingle, longValue, longValue, missing, name, to, toEnum, toEnum, toList, toList, toMap, toMultimap, toOptional, toOptional, toSet, toSet, value, value, value, value, valueOrNull
public void put(String name, FileUpload file)
Multipart
@Nonnull public List<FileUpload> files()
Multipart
multipart/form-data
request.@Nonnull public List<FileUpload> files(@Nonnull String name)
Multipart
multipart/form-data
request.@Nonnull public FileUpload file(@Nonnull String name)
Multipart
multipart/form-data
request.Copyright © 2019. All rights reserved.