public class ServletBinding extends Binding
request.getSession(false) - can be null!
| Constructor and Description |
|---|
ServletBinding(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context)
Initializes a servlet binding.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getVariable(java.lang.String name) |
java.util.Map |
getVariables() |
void |
setVariable(java.lang.String name,
java.lang.Object value)
Sets the value of the given variable
|
getProperty, setPropertygetMetaClass, invokeMethod, setMetaClasspublic ServletBinding(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context)
public void setVariable(java.lang.String name,
java.lang.Object value)
BindingsetVariable in class Bindingname - the name of the variable to setvalue - the new value for the given variablepublic java.util.Map getVariables()
getVariables in class Bindingpublic java.lang.Object getVariable(java.lang.String name)
getVariable in class Bindingname - the name of the variable to lookup