Class AsynchronousClientForValidationClass
java.lang.Object
org.eclipse.microprofile.fault.tolerance.tck.invalidParameters.AsynchronousClientForValidationClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInvalid because the class is annotated withAsynchronous
but the method does not return Future or CompletionStage.Valid
-
Constructor Details
-
AsynchronousClientForValidationClass
public AsynchronousClientForValidationClass()
-
-
Method Details
-
getStringAsync
Valid- Returns:
- Future("foo")
-
getString
Invalid because the class is annotated withAsynchronous
but the method does not return Future or CompletionStage.- Returns:
- "foo"
-