T
- The target typeR
- The return typepublic interface UriRouteMatch<T,R> extends UriMatchInfo, MethodBasedRouteMatch<T,R>
RouteMatch
that matches a URI and HttpMethod
.CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBER
EMPTY
Modifier and Type | Method and Description |
---|---|
UriRouteMatch<T,R> |
decorate(Function<RouteMatch<R>,R> executor)
Decorates the execution of the route with the given executor.
|
UriRouteMatch<T,R> |
fulfill(Map<String,Object> argumentValues)
Returns a new
RouteMatch fulfilling arguments required by this route to execute. |
HttpMethod |
getHttpMethod() |
default List<Argument> |
getRequiredArguments()
Returns the required arguments for this RouteMatch.
|
UriRoute |
getRoute() |
getUri, getVariables, getVariableValues
accept, call, execute, execute, getBodyArgument, getDeclaringType, getProduces, getRequiredInput, getReturnType, getVariableValues, isExecutable, isRequiredInput, isSatisfied
getExecutableMethod
getArguments, getDeclaringType, getTarget, invoke, of
getArgumentNames, getArguments, getArgumentTypes, getDeclaringType, getMethodName, getReturnType, getTargetMethod
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotationMetadata
default List<Argument> getRequiredArguments()
Returns the required arguments for this RouteMatch.
Note that this is not the save as ExecutionHandle.getArguments()
as it will include a subset of the arguments
excluding those that have been subtracted from the URI variables
getRequiredArguments
in interface MethodBasedRouteMatch<T,R>
getRequiredArguments
in interface RouteMatch<R>
HttpMethod getHttpMethod()
UriRouteMatch<T,R> fulfill(Map<String,Object> argumentValues)
RouteMatch
RouteMatch
fulfilling arguments required by this route to execute. The new route will not
return the given arguments from the RouteMatch.getRequiredArguments()
method.fulfill
in interface RouteMatch<R>
argumentValues
- The argument valuesUriRouteMatch<T,R> decorate(Function<RouteMatch<R>,R> executor)
RouteMatch
decorate
in interface RouteMatch<R>
executor
- The executor