Class MultipartBody
java.lang.Object
com.liferay.portal.vulcan.multipart.MultipartBody
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetBinaryFile
(String key) byte[]
<T> T
getValueAsInstance
(String key, Class<T> clazz) <T> T
getValueAsNullableInstance
(String key, Class<T> clazz) getValueAsString
(String key) static MultipartBody
of
(Map<String, BinaryFile> binaryFiles, MultipartBody.ObjectMapperProvider objectMapperProvider, Map<String, String> values)
-
Method Details
-
of
public static MultipartBody of(Map<String, BinaryFile> binaryFiles, MultipartBody.ObjectMapperProvider objectMapperProvider, Map<String, String> values) -
getBinaryFile
-
getBinaryFileAsBytes
- Throws:
IOException
-
getValueAsInstance
- Throws:
IOException
-
getValueAsNullableInstance
- Throws:
IOException
-
getValueAsString
-
getValues
-