@Internal public interface RouteValidationRule
Modifier and Type | Method and Description |
---|---|
RouteValidationResult |
validate(List<UriMatchTemplate> templates,
ParameterElement[] parameters,
MethodElement method)
Validate the given uri templates and route arguments.
|
default RouteValidationResult |
validate(UriMatchTemplate template,
ParameterElement[] parameters,
MethodElement method)
Validate the given uri template and route arguments.
|
default RouteValidationResult validate(UriMatchTemplate template, ParameterElement[] parameters, MethodElement method)
template
- The URI match templatesparameters
- The route parametersmethod
- The route methodRouteValidationResult
RouteValidationResult validate(List<UriMatchTemplate> templates, ParameterElement[] parameters, MethodElement method)
templates
- The URI match templatesparameters
- The route parametersmethod
- The route methodRouteValidationResult