Class OverrideUserMethodImplementor
java.lang.Object
io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
io.quarkus.rest.data.panache.deployment.methods.OverrideUserMethodImplementor
- All Implemented Interfaces:
MethodImplementor
Override the user method defined in the interface to propagate the annotations.
In case of the method is also a REST resource, it will be configured to support the rest-data features like hal.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final org.jboss.jandex.DotName(package private) static final org.jboss.jandex.DotNameFields inherited from class io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
responseImplementorFields inherited from interface io.quarkus.rest.data.panache.deployment.methods.MethodImplementor
APPLICATION_HAL_JSON, APPLICATION_JSON -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOverrideUserMethodImplementor(org.jboss.jandex.MethodInfo methodInfo, io.quarkus.deployment.Capabilities capabilities) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLinksAnnotation(io.quarkus.gizmo.AnnotatedElement element, ResourceProperties resourceProperties, String entityClassName, String rel) protected StringGet a name of a method which this controller uses to access data.protected voidimplementInternal(io.quarkus.gizmo.ClassCreator classCreator, ResourceMetadata resourceMetadata, ResourceProperties resourceProperties, io.quarkus.gizmo.FieldDescriptor resourceField) Implement the actual JAX-RS method logic.Methods inherited from class io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
addConsumesAnnotation, addContextAnnotation, addDefaultValueAnnotation, addDeleteAnnotation, addGetAnnotation, addMethodAnnotations, addOpenApiResponseAnnotation, addOpenApiResponseAnnotation, addOpenApiResponseAnnotation, addOpenApiResponseAnnotation, addPathAnnotation, addPathParamAnnotation, addPostAnnotation, addProducesAnnotation, addProducesJsonAnnotation, addPutAnnotation, addQueryParamAnnotation, addSecurityAnnotations, addSortQueryParamValidatorAnnotation, appendToPath, hasSecurityCapability, hasValidatorCapability, implement, implementTryBlock, isNotReactivePanache
-
Field Details
-
REST_PATH
static final org.jboss.jandex.DotName REST_PATH -
REST_PRODUCES
static final org.jboss.jandex.DotName REST_PRODUCES
-
-
Constructor Details
-
OverrideUserMethodImplementor
protected OverrideUserMethodImplementor(org.jboss.jandex.MethodInfo methodInfo, io.quarkus.deployment.Capabilities capabilities)
-
-
Method Details
-
implementInternal
protected void implementInternal(io.quarkus.gizmo.ClassCreator classCreator, ResourceMetadata resourceMetadata, ResourceProperties resourceProperties, io.quarkus.gizmo.FieldDescriptor resourceField) Description copied from class:StandardMethodImplementorImplement the actual JAX-RS method logic.- Specified by:
implementInternalin classStandardMethodImplementor
-
getResourceMethodName
Description copied from class:StandardMethodImplementorGet a name of a method which this controller uses to access data.- Specified by:
getResourceMethodNamein classStandardMethodImplementor
-
addLinksAnnotation
protected void addLinksAnnotation(io.quarkus.gizmo.AnnotatedElement element, ResourceProperties resourceProperties, String entityClassName, String rel) - Overrides:
addLinksAnnotationin classStandardMethodImplementor
-