Interface MethodBasedRouteMatch<T,R>

Type Parameters:
T - The target
R - The route
All Superinterfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Callable<R>, ExecutionHandle<T,R>, MethodExecutionHandle<T,R>, MethodReference<T,R>, Named, RouteMatch<R>
All Known Subinterfaces:
UriRouteMatch<T,R>

public interface MethodBasedRouteMatch<T,R> extends RouteMatch<R>, MethodExecutionHandle<T,R>
Match a route based on a method.
  • Method Details

    • getRequiredArguments

      default Collection<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.

      Specified by:
      getRequiredArguments in interface RouteMatch<T>
      Returns:
      The required arguments in order to invoke this route