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, getVariableMap, getVariables, getVariableValues
call, doesConsume, doesProduce, doesProduce, execute, execute, explicitlyConsumes, explicitlyProduces, getBodyArgument, getProduces, getRequiredInput, getReturnType, getVariableValues, isExecutable, isRequiredInput, isSatisfied
findStatus, getBodyType, getConsumes, getDeclaringType, isAsync, isAsyncOrReactive, isCompletable, isErrorRoute, isReactive, isSingleResult, isSpecifiedSingle, isSuspended, isVoid, isWebSocketRoute
getExecutableMethod
getArguments, getDeclaringType, getTarget, invoke, of
getArgumentNames, getArguments, getArgumentTypes, getDeclaringType, getMethodName, getName, getReturnType, getTargetMethod
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotationValuesByName, getAnnotationValuesByStereotype, getDeclaredAnnotationValuesByName, getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresent
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
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