Package io.micronaut.web.router
Interface MethodBasedRouteInfo<T,R>
- Type Parameters:
T- The targetR- 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
Represents a route that is backed by a method.
- Since:
- 1.0
-
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 TypeMethodDescription@NonNull String[]io.micronaut.http.bind.binders.RequestArgumentBinder<Object>[]resolveArgumentBinders(io.micronaut.http.bind.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
- Returns:
- The
MethodExecutionHandle
-
getArgumentNames
-
resolveArgumentBinders
io.micronaut.http.bind.binders.RequestArgumentBinder<Object>[] resolveArgumentBinders(io.micronaut.http.bind.RequestBinderRegistry requestBinderRegistry)
-