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> TgetValueAsInstance(String key, Class<T> clazz) <T> TgetValueAsNullableInstance(String key, Class<T> clazz) getValueAsString(String key) static MultipartBodyof(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
-