Class HalMethodImplementor
- java.lang.Object
-
- io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
-
- io.quarkus.rest.data.panache.deployment.methods.hal.HalMethodImplementor
-
- All Implemented Interfaces:
MethodImplementor
- Direct Known Subclasses:
ListHalMethodImplementor
abstract class HalMethodImplementor extends StandardMethodImplementor
HAL JAX-RS method implementor.
-
-
Field Summary
-
Fields inherited from class io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
responseImplementor
-
Fields inherited from interface io.quarkus.rest.data.panache.deployment.methods.MethodImplementor
APPLICATION_HAL_JSON, APPLICATION_JSON
-
-
Constructor Summary
Constructors Constructor Description HalMethodImplementor(boolean isResteasyClassic, boolean isReactivePanache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidimplement(io.quarkus.gizmo.ClassCreator classCreator, ResourceMetadata resourceMetadata, ResourceProperties resourceProperties, io.quarkus.gizmo.FieldDescriptor resourceField)Implement a method if it is exposed and hal is enabled.protected io.quarkus.gizmo.ResultHandlewrapHalEntities(io.quarkus.gizmo.BytecodeCreator creator, io.quarkus.gizmo.ResultHandle entities, String entityType, String collectionName)-
Methods inherited from class io.quarkus.rest.data.panache.deployment.methods.StandardMethodImplementor
addConsumesAnnotation, addContextAnnotation, addDefaultValueAnnotation, addDeleteAnnotation, addGetAnnotation, addLinksAnnotation, addPathAnnotation, addPathParamAnnotation, addPostAnnotation, addProducesAnnotation, addProducesJsonAnnotation, addPutAnnotation, addQueryParamAnnotation, addSortQueryParamValidatorAnnotation, appendToPath, getResourceMethodName, implementInternal, implementTryBlock, isNotReactivePanache, isResteasyClassic
-
-
-
-
Method Detail
-
implement
public void implement(io.quarkus.gizmo.ClassCreator classCreator, ResourceMetadata resourceMetadata, ResourceProperties resourceProperties, io.quarkus.gizmo.FieldDescriptor resourceField)Implement a method if it is exposed and hal is enabled.- Specified by:
implementin interfaceMethodImplementor- Overrides:
implementin classStandardMethodImplementor
-
-