Package io.quarkus.qute
Class Results
- java.lang.Object
-
- io.quarkus.qute.Results
-
public final class Results extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResults.NotFoundRepresents a "result not found" value.
-
Field Summary
Fields Modifier and Type Field Description static CompletedStage<Object>FALSEstatic CompletedStage<Object>NULLstatic CompletedStage<Object>TRUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNotFound(Object result)static CompletionStage<Object>notFound()static CompletionStage<Object>notFound(EvalContext evalContext)static CompletionStage<Object>notFound(String name)
-
-
-
Field Detail
-
FALSE
public static final CompletedStage<Object> FALSE
-
TRUE
public static final CompletedStage<Object> TRUE
-
NULL
public static final CompletedStage<Object> NULL
-
-
Method Detail
-
isNotFound
public static boolean isNotFound(Object result)
- Parameters:
result-- Returns:
trueif the value represents a "not found" result
-
notFound
public static CompletionStage<Object> notFound(EvalContext evalContext)
-
notFound
public static CompletionStage<Object> notFound(String name)
-
notFound
public static CompletionStage<Object> notFound()
-
-