Package org.frankframework.console.util
Class RequestUtils
java.lang.Object
org.frankframework.console.util.RequestUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> Tconvert(Class<T> clazz, InputStream is) static BooleangetBooleanValue(Map<String, Object> json, String key) static IntegergetIntegerValue(Map<String, Object> json, String key) static StringIf present returns the value as String Else returns NULLstatic <T> TresolveRequiredProperty(String key, T multiFormProperty, T defaultValue) static StringresolveStringWithEncoding(String key, org.springframework.web.multipart.MultipartFile message, String defaultEncoding, boolean nullOnEmpty)
-
Constructor Details
-
RequestUtils
public RequestUtils()
-
-
Method Details
-
convert
- Throws:
IOException
-
getValue
If present returns the value as String Else returns NULL -
getIntegerValue
-
getBooleanValue
-
resolveRequiredProperty
@Nonnull public static <T> T resolveRequiredProperty(String key, T multiFormProperty, T defaultValue) throws ApiException - Throws:
ApiException
-
resolveStringWithEncoding
-