vertx / io.vertx.reactivex.ext.web.api.validation / ParameterTypeValidator / createIntegerTypeValidator

# createIntegerTypeValidator

`open static fun createIntegerTypeValidator(defaultValue: Int): ParameterTypeValidator`

Create a new type validator for integer values

### Parameters

`defaultValue` - Default value that will be set if parameter is empty or not found. To apply default value you have to set `io.vertx.reactivex.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return

`open static fun createIntegerTypeValidator(maximum: Double, minimum: Double, multipleOf: Double, defaultValue: Int): ParameterTypeValidator`

Create a new type validator for integer values

### Parameters

`maximum` - Maximum value. It can be null

`minimum` - Minimum value. It can be null

`multipleOf` - Multiple of value. 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 `io.vertx.reactivex.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return

`open static fun createIntegerTypeValidator(exclusiveMaximum: Boolean, maximum: Double, exclusiveMinimum: Boolean, minimum: Double, multipleOf: Double, defaultValue: Any): ParameterTypeValidator`

Create a new type validator for integer values

### Parameters

`exclusiveMaximum` - If true, value will be mark as valid if value < maximum. If false, value will be mark as valid if value <= maximum. The default value is false. It can be null

`maximum` - Maximum value. It can be null

`exclusiveMinimum` - If true, value will be mark as valid if value > minimum. If false, value will be mark as valid if value >= minimum. The default value is false. It can be null

`minimum` - Minimum value. It can be null

`multipleOf` - Multiple of value. 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 `io.vertx.reactivex.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return