Package io.quarkus.qute
Interface Mapper
-
public interface MapperMaps keys to values in a similar way toMap. The difference is that a mapper could be stateless, i.e. the lookup may be performed dynamically.- See Also:
ValueResolvers.mapperResolver()
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default booleanappliesTo(String key)default Objectget(String key)default CompletionStage<Object>getAsync(String key)static Mapperwrap(Map<String,?> map)
-
-
-
Method Detail
-
getAsync
default CompletionStage<Object> getAsync(String key)
-
appliesTo
default boolean appliesTo(String key)
- Parameters:
key-- Returns:
trueif the mapper should be applied to the specified key
-
-