@ApplicationScoped @Asynchronous public class AsynchronousClientForValidationClass extends Object
| Constructor and Description |
|---|
AsynchronousClientForValidationClass() |
| Modifier and Type | Method and Description |
|---|---|
String |
getString()
Invalid because the class is annotated with
Asynchronous but the method does not return Future or
CompletionStage. |
Future<String> |
getStringAsync()
Valid
|
public AsynchronousClientForValidationClass()
public String getString()
Asynchronous but the method does not return Future or
CompletionStage.Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.