Package org.apache.juneau.svl
Class StreamedVar
java.lang.Object
org.apache.juneau.svl.Var
org.apache.juneau.svl.StreamedVar
- Direct Known Subclasses:
SerializedRequestAttrVar
Abstract superclass of all Simple Var Language variables that write their values directly to a writer.
Note the difference between this class and SimpleVar
that returns simple string values.
Unlike the SimpleVar
class, the output from this class cannot contain nested variables.
However, this class can be more efficient for variables that produce large amounts of output so that the creation
of large in-memory strings is avoided.
Subclasses must implement the following method:
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(VarResolverSession session, String arg) The interface that needs to be implemented for subclasses ofSimpleVar
.Methods inherited from class org.apache.juneau.svl.Var
allowNested, allowRecurse, canResolve, doResolve, getName, resolveTo