Package io.toro.martini.gloop.http
Class MultipartFile.Builder
- java.lang.Object
-
- io.toro.martini.gloop.http.MultipartFile.Builder
-
- Enclosing class:
- MultipartFile
public static class MultipartFile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GloopModel
buildModel()
MultipartFile.Builder
contentType(String contentType)
MultipartFile.Builder
empty(boolean empty)
MultipartFile.Builder
inputStream(InputStream is)
MultipartFile.Builder
name(String name)
MultipartFile.Builder
originalFilename(String originalFilename)
MultipartFile.Builder
size(long size)
-
-
-
Method Detail
-
name
public MultipartFile.Builder name(String name)
-
originalFilename
public MultipartFile.Builder originalFilename(String originalFilename)
-
contentType
public MultipartFile.Builder contentType(String contentType)
-
empty
public MultipartFile.Builder empty(boolean empty)
-
size
public MultipartFile.Builder size(long size)
-
inputStream
public MultipartFile.Builder inputStream(InputStream is)
-
buildModel
public GloopModel buildModel()
-
-