Annotation Interface CompletePrompt
Annotates a business method of a CDI bean used to complete a prompt argument
The result of a "complete" operation is always represented as a
. However, the annotated method can
also return other types that are converted according to the following rules.
invalid reference
CompletionResponse
- If the method returns
Stringthen the reponse contains the single value. - If the method returns a
ListofStrings then the reponse contains the list of values. - The method may return a
that wraps any of the type mentioned above.
invalid reference
Uni
CompletionResponseStringList<String>Uni<CompletionResponse>Uni<String>Uni<List<String>>
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
-