public static interface Request.Param<T>
isPresent()
)
and utility method to nicely handles cases where the parameter is not present.Modifier and Type | Method and Description |
---|---|
T |
getValue() |
boolean |
isPresent() |
T |
or(java.util.function.Supplier<T> defaultValueSupplier) |