Interface MethodBasedRouteInfo<T,R>

Type Parameters:
T - The target
R - The result
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, RouteInfo<R>
All Known Subinterfaces:
ErrorRouteInfo<T,R>, StatusRouteInfo<T,R>, UriRouteInfo<T,R>
All Known Implementing Classes:
DefaultErrorRouteInfo, DefaultRequestMatcher, DefaultStatusRouteInfo, DefaultUrlRouteInfo

public interface MethodBasedRouteInfo<T,R> extends RouteInfo<R>
Represents a route that is backed by a method.
Since:
1.0
  • Method Details

    • getTargetMethod

      io.micronaut.inject.MethodExecutionHandle<T,R> getTargetMethod()
      Returns:
      The MethodExecutionHandle
    • getArgumentNames

      @NonNull @NonNull String[] getArgumentNames()
    • resolveArgumentBinders

      io.micronaut.http.bind.binders.RequestArgumentBinder<Object>[] resolveArgumentBinders(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)