Interface Models
A map of name to model instances used by a ViewEngine
to process a view. Instances implementing this interface must be injectable using
Inject and are RequestScoped.
Note that certain view engines, such as engines for Jakarta Server Pages and Facelets, support
model binding via Named in which case the use of Models is
optional.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionasMap()Returns a unmodifiable view of the models map.Retrieve a model by name.<T> TRetrieve a model by name in a type-safe way.Stores a new model in the map.Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
put
-
get
-
get
-
asMap
-