public class NullableParameterRule extends Object implements RouteValidationRule
Constructor and Description |
---|
NullableParameterRule() |
Modifier and Type | Method and Description |
---|---|
RouteValidationResult |
validate(UriMatchTemplate template,
ParameterElement[] parameters,
MethodElement method)
Validate the given uri template and route arguments.
|
public RouteValidationResult validate(UriMatchTemplate template, ParameterElement[] parameters, MethodElement method)
RouteValidationRule
validate
in interface RouteValidationRule
template
- The URI match templateparameters
- The route parametersmethod
- The route methodRouteValidationResult