Package io.micronaut.web.router
Interface MethodBasedRouteInfo<T,R>
- Type Parameters:
T- The targetR- The result
- All Superinterfaces:
AnnotationMetadataProvider,AnnotationSource,RouteInfo<R>
- All Known Subinterfaces:
ErrorRouteInfo<T,,R> StatusRouteInfo<T,,R> UriRouteInfo<T,R>
- All Known Implementing Classes:
DefaultErrorRouteInfo,DefaultRequestMatcher,DefaultStatusRouteInfo,DefaultUrlRouteInfo
Represents a route that is backed by a method.
- Since:
- 1.0
- Author:
- James Kleeh
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTYFields inherited from interface io.micronaut.web.router.RouteInfo
DEFAULT_PRODUCES -
Method Summary
Modifier and TypeMethodDescriptionresolveArgumentBinders(RequestBinderRegistry requestBinderRegistry) Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.web.router.RouteInfo
consumesAll, doesConsume, doesProduce, doesProduce, explicitlyConsumes, explicitlyProduces, findStatus, getBodyArgument, getBodyType, getConsumes, getDeclaringType, getExecutor, getFullRequestBodyType, getMessageBodyReader, getMessageBodyWriter, getProduces, getRequestBodyType, getResponseBodyType, getReturnType, isAsync, isAsyncOrReactive, isCompletable, isErrorRoute, isImperative, isPermitsRequestBody, isReactive, isResponseBodyJsonFormattable, isSingleResult, isSpecifiedSingle, isSuspended, isVoid, isWebSocketRoute, needsRequestBody, producesAll
-
Method Details
-
getTargetMethod
MethodExecutionHandle<T,R> getTargetMethod()- Returns:
- The
MethodExecutionHandle
-
getArgumentNames
-
resolveArgumentBinders
-