Class HandlerDescriptor

java.lang.Object
io.quarkus.vertx.web.deployment.HandlerDescriptor

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

    • HandlerDescriptor

      HandlerDescriptor(org.jboss.jandex.MethodInfo method, io.quarkus.hibernate.validator.spi.BeanValidationAnnotationsBuildItem bvAnnotations, boolean failureHandler, String[] producedTypes)
  • Method Details

    • 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()
    • isPayloadBuffer

      boolean isPayloadBuffer()
    • isPayloadMutinyBuffer

      boolean isPayloadMutinyBuffer()
    • isFailureHandler

      boolean isFailureHandler()