Class MultipartCheck
java.lang.Object
ru.vyarus.dropwizard.guice.test.client.util.MultipartCheck
Utility to check multipart jar presence.
Note: this can't be merged with MultipartSupport as
this class should not use any multipart classes directly.
- Since:
- 09.10.2025
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic void
-
Method Details
-
isEnabled
public static boolean isEnabled()- Returns:
- true if the multipart jar is available
-
getMultipartFeatureClass
- Returns:
- multipart feature class or null if jar not available
-
requireEnabled
public static void requireEnabled()- Throws:
IllegalStateException- if the multipart jar is not available
-