public static interface Request.StringParam extends Request.Param<String>
Request.Param
with convenience methods specific to the type String
.Modifier and Type | Method and Description |
---|---|
Request.StringParam |
emptyAsNull()
Returns a
Request.StringParam object which methods Request.Param.getValue() and Request.Param.or(Supplier) will
return null rather than an empty String when the param is present and its value is an empty String. |
getValue, isPresent, or
Request.StringParam emptyAsNull()
Request.StringParam
object which methods Request.Param.getValue()
and Request.Param.or(Supplier)
will
return null
rather than an empty String when the param is present and its value is an empty String.Copyright © 2009–2017 SonarSource. All rights reserved.