Package org.zkoss.web.util.resource
Class ServletRequestResolver
- java.lang.Object
-
- org.zkoss.web.util.resource.ServletRequestResolver
-
- All Implemented Interfaces:
java.io.Serializable
,VariableResolver
public class ServletRequestResolver extends java.lang.Object implements VariableResolver, java.io.Serializable
Used to resolve the variables defined in the request (such as DSP context and ZK's execution). It is designed to workLabels
, such that XEL expressions specified in labels could reference to the variables defined in the request.- Since:
- 5.0.7
- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServletRequestResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveVariable(java.lang.String name)
Resolves the specified variable.
-
-
-
Method Detail
-
resolveVariable
public java.lang.Object resolveVariable(java.lang.String name) throws XelException
Description copied from interface:VariableResolver
Resolves the specified variable.- Specified by:
resolveVariable
in interfaceVariableResolver
- Parameters:
name
- the name of the variable to resolve- Throws:
XelException
-
-