open static fun createStringTypeValidator(defaultValue: Any): ParameterTypeValidator
Create a new string type validator
defaultValue - Default value that will be set if parameter is empty or not found. To apply default value you have to set ParameterValidationRule#allowEmptyValue() true. It can be null
Return
open static fun createStringTypeValidator(pattern: String, defaultValue: Any): ParameterTypeValidator
Create a new string type validator
pattern - pattern that string have to match. It can be null
defaultValue - Default value that will be set if parameter is empty or not found. To apply default value you have to set ParameterValidationRule#allowEmptyValue() true. It can be null
Return
open static fun createStringTypeValidator(pattern: String, minLength: Int, maxLength: Int, defaultValue: Any): ParameterTypeValidator
Create a new string type validator
pattern - pattern that string have to match. It can be null
minLength - Minimum length of string. It can be null
maxLength - Maximum length of string. It can be null
defaultValue - Default value that will be set if parameter is empty or not found. To apply default value you have to set ParameterValidationRule#allowEmptyValue() true. It can be null
Return