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 @Nullable BooleangetBooleanValue(Map<String, Object> json, String key) static @Nullable IntegergetIntegerValue(Map<String, Object> json, String key) static @Nullable StringIf present returns the value as String Else returns NULLstatic <T> @NonNull 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
-
getIntegerValue
-
getBooleanValue
-
resolveRequiredProperty
public static <T> @NonNull T resolveRequiredProperty(String key, T multiFormProperty, T defaultValue) throws ApiException - Throws:
ApiException
-
resolveStringWithEncoding
-