类 HandlerMethod.ConcurrentResultHandlerMethod

java.lang.Object
cn.taketoday.web.handler.method.HandlerMethod
cn.taketoday.web.handler.method.HandlerMethod.ConcurrentResultHandlerMethod
所有已实现的接口:
AsyncHandler
封闭类:
HandlerMethod

protected static class HandlerMethod.ConcurrentResultHandlerMethod extends HandlerMethod
  • 字段详细资料

    • target

      private final HandlerMethod target
    • asyncResult

      private final Object asyncResult
    • returnType

      private final cn.taketoday.core.MethodParameter returnType
  • 构造器详细资料

  • 方法详细资料

    • invokeForRequest

      @Nullable public Object invokeForRequest(RequestContext request)
    • getBeanType

      public Class<?> getBeanType()
      Bridge to actual controller type-level annotations.
      覆盖:
      getBeanType 在类中 HandlerMethod
    • getReturnValueType

      public cn.taketoday.core.MethodParameter getReturnValueType(@Nullable Object returnValue)
      Bridge to actual return value or generic type within the declared async return type, e.g. Foo instead of DeferredResult<Foo>.
      覆盖:
      getReturnValueType 在类中 HandlerMethod
    • getReturnType

      public cn.taketoday.core.MethodParameter getReturnType()
      从类复制的说明: HandlerMethod
      Return the HandlerMethod return type.
      覆盖:
      getReturnType 在类中 HandlerMethod
    • getMethodAnnotation

      public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType)
      Bridge to controller method-level annotations.
      覆盖:
      getMethodAnnotation 在类中 HandlerMethod
      参数:
      annotationType - the type of annotation to introspect the method for
      返回:
      the annotation, or null if none found
      另请参阅:
      • AnnotatedElementUtils.findMergedAnnotation(java.lang.reflect.AnnotatedElement, java.lang.Class<A>)
    • hasMethodAnnotation

      public <A extends Annotation> boolean hasMethodAnnotation(Class<A> annotationType)
      Bridge to controller method-level annotations.
      覆盖:
      hasMethodAnnotation 在类中 HandlerMethod
      参数:
      annotationType - the annotation type to look for
      另请参阅:
      • AnnotatedElementUtils.hasAnnotation(java.lang.reflect.AnnotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation>)
    • isReturn

      public boolean isReturn(Class<?> returnType)
      覆盖:
      isReturn 在类中 HandlerMethod
    • isReturnTypeAssignableTo

      public boolean isReturnTypeAssignableTo(Class<?> superClass)
      覆盖:
      isReturnTypeAssignableTo 在类中 HandlerMethod