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(java.util.function.Function<RouteMatch<R>,R> executor)
Decorates the execution of the route with the given executor.
|
UriRouteMatch<T,R> |
fulfill(java.util.Map<java.lang.String,java.lang.Object> argumentValues)
Returns a new
RouteMatch fulfilling arguments required by this route to execute. |
HttpMethod |
getHttpMethod() |
default java.util.List<Argument> |
getRequiredArguments()
Returns the required arguments for this RouteMatch.
|
UriRoute |
getRoute() |
getUri, getVariableMap, getVariables, getVariableValues
accept, call, doesConsume, doesProduce, doesProduce, execute, execute, explicitAccept, explicitlyConsumes, getBodyArgument, getDeclaringType, getProduces, getRequiredInput, getReturnType, getVariableValues, isExecutable, isRequiredInput, isSatisfied
isAsync, isAsyncOrReactive, isCompletable, isReactive, isSingleResult, isSpecifiedSingle, isSuspended, isVoid
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, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, 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
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
getAnnotationMetadata
default java.util.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(java.util.Map<java.lang.String,java.lang.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(java.util.function.Function<RouteMatch<R>,R> executor)
RouteMatch
decorate
in interface RouteMatch<R>
executor
- The executor