Package org.apache.juneau.svl
Class MultipartResolvingVar
java.lang.Object
org.apache.juneau.svl.Var
org.apache.juneau.svl.SimpleVar
org.apache.juneau.svl.MultipartResolvingVar
- Direct Known Subclasses:
CoalesceVar,RequestAttributeVar,RequestFormDataVar,RequestHeaderVar,RequestPathVar,RequestQueryVar,RequestSwaggerVar,RequestVar,SwaggerVar
Interface for the resolution of vars that can have one or more keys where the first non-null resolution is returned.
For example, to resolve the system property
Subclasses must implement the following method:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoResolve(VarResolverSession session, String s) The method called fromVarResolver.Methods inherited from class org.apache.juneau.svl.Var
allowNested, allowRecurse, canResolve, getName, resolve
-
Constructor Details
-
MultipartResolvingVar
Constructor.- Parameters:
name- The name of this variable.
-
-
Method Details
-
doResolve
Description copied from class:VarThe method called fromVarResolver.Can be overridden to intercept the request and do special handling.
Default implementation simply calls resolve(String).
-