Class HandlerDescriptor


  • class HandlerDescriptor
    extends Object
    Describe a request handler.
    • Constructor Detail

      • HandlerDescriptor

        HandlerDescriptor​(org.jboss.jandex.MethodInfo method,
                          BeanValidationAnnotationsBuildItem bvAnnotations,
                          io.quarkus.vertx.http.runtime.HandlerType handlerType)
    • Method Detail

      • getReturnType

        org.jboss.jandex.Type getReturnType()
      • isReturningVoid

        boolean isReturningVoid()
      • isReturningUni

        boolean isReturningUni()
      • isReturningMulti

        boolean isReturningMulti()
      • isReturningCompletionStage

        boolean isReturningCompletionStage()
      • requireValidation

        boolean requireValidation()
        Returns:
        true if the method is annotated with a constraint or @Valid or any parameter has such kind of annotation.
      • isProducedResponseValidated

        boolean isProducedResponseValidated()
        Returns:
        true if the method is annotated with @Valid.
      • getContentType

        org.jboss.jandex.Type getContentType()
      • isContentTypeString

        boolean isContentTypeString()
      • isContentTypeBuffer

        boolean isContentTypeBuffer()
      • isContentTypeMutinyBuffer

        boolean isContentTypeMutinyBuffer()
      • getHandlerType

        io.quarkus.vertx.http.runtime.HandlerType getHandlerType()