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,
                          String[] producedTypes)
    • Method Detail

      • getReturnType

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

        boolean isReturningUni()
      • isReturningMulti

        boolean isReturningMulti()
      • isReturningCompletionStage

        boolean isReturningCompletionStage()
      • getFirstContentType

        public String getFirstContentType()
      • 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.
      • getPayloadType

        org.jboss.jandex.Type getPayloadType()
      • isPayloadString

        boolean isPayloadString()
      • isPayloadTypeBuffer

        boolean isPayloadTypeBuffer()
      • isPayloadMutinyBuffer

        boolean isPayloadMutinyBuffer()
      • getHandlerType

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