Class JavaRestResourceUtil
- java.lang.Object
-
- org.eclipse.microprofile.openapi.apps.petstore.resource.JavaRestResourceUtil
-
public class JavaRestResourceUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description JavaRestResourceUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBoolean(boolean defaultValue, String booleanString)DategetDate(Date defaultValue, String dateString)doublegetDouble(double minVal, double maxVal, double defaultValue, String inputString)intgetInt(int minVal, int maxVal, int defaultValue, String inputString)longgetLong(long minVal, long maxVal, long defaultValue, String inputString)
-
-
-
Method Detail
-
getInt
public int getInt(int minVal, int maxVal, int defaultValue, String inputString)
-
getLong
public long getLong(long minVal, long maxVal, long defaultValue, String inputString)
-
getDouble
public double getDouble(double minVal, double maxVal, double defaultValue, String inputString)
-
getBoolean
public boolean getBoolean(boolean defaultValue, String booleanString)
-
-