Package io.quarkus.vertx.web.deployment
Class HandlerDescriptor
- java.lang.Object
-
- io.quarkus.vertx.web.deployment.HandlerDescriptor
-
class HandlerDescriptor extends Object
Describe a request handler.
-
-
Constructor Summary
Constructors Constructor Description HandlerDescriptor(org.jboss.jandex.MethodInfo method, BeanValidationAnnotationsBuildItem bvAnnotations, boolean failureHandler, String[] producedTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFirstContentType()(package private) org.jboss.jandex.TypegetPayloadType()(package private) org.jboss.jandex.TypegetReturnType()(package private) booleanisFailureHandler()(package private) booleanisPayloadMutinyBuffer()(package private) booleanisPayloadString()(package private) booleanisPayloadTypeBuffer()(package private) booleanisProducedResponseValidated()(package private) booleanisReturningCompletionStage()(package private) booleanisReturningMulti()(package private) booleanisReturningUni()(package private) booleanrequireValidation()
-
-
-
Constructor Detail
-
HandlerDescriptor
HandlerDescriptor(org.jboss.jandex.MethodInfo method, BeanValidationAnnotationsBuildItem bvAnnotations, boolean failureHandler, 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:
trueif the method is annotated with a constraint or@Validor any parameter has such kind of annotation.
-
isProducedResponseValidated
boolean isProducedResponseValidated()
- Returns:
trueif the method is annotated with@Valid.
-
getPayloadType
org.jboss.jandex.Type getPayloadType()
-
isPayloadString
boolean isPayloadString()
-
isPayloadTypeBuffer
boolean isPayloadTypeBuffer()
-
isPayloadMutinyBuffer
boolean isPayloadMutinyBuffer()
-
isFailureHandler
boolean isFailureHandler()
-
-