Class MultipartInputProcessor
java.lang.Object
fr.metabocloud.core.implementation.utils.MultipartInputProcessor
Utility class with methods to help processing multipart input sent in a request body.
findFirstIndexNonNull(java.util.List<java.lang.Object>)- Give the index of the first non-null element of an object list
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerfindFirstIndexNonNull(List<Object> inputList) Give the index of the first non-null element of an object list.
-
Constructor Details
-
MultipartInputProcessor
protected MultipartInputProcessor()Protected constructor
-
-
Method Details
-
findFirstIndexNonNull
Give the index of the first non-null element of an object list.- Parameters:
inputList- A list of input- Returns:
- The index of the first non-null object of the list.
- Throws:
NoSuchElementException- if there is no null object in the list.
-