public class RequestProperties extends Object implements Serializable
JSF implicit objects can be found here.
http://docs.oracle.com/javaee/7/tutorial/doc/jsf-custom012.htm
If the bean returns a collection, the Oracle documentation says that you can get a specific value by following it by the index in square brackets. It also indicates that something similar can be done for Maps, but this may only apply to specific EL and JSF implementations.
It may be that the implicit beans are handled differently and aren't fully available until after the managed beans are done with the property management.
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
cookie
Implicit object.
|
protected FacesContext |
facesContext
Implicit object.
|
protected Map<String,String> |
param
Implicit Object.
|
protected Map<String,String> |
paramAnn |
protected Map<String,String> |
paramXml
Reference to implicit object.
|
protected HttpServletRequest |
request
Implicit object.
|
protected HttpServletResponse |
response
Implicit object.
|
protected HttpSession |
session
Implicit object.
|
protected String |
test1
Managed bean property for the name parameter in the
HTTP call.
|
Constructor and Description |
---|
RequestProperties() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCookie() |
FacesContext |
getFacesContext() |
Map<String,String> |
getParam() |
Map<String,String> |
getParamAnn() |
Map<String,String> |
getParamXml() |
HttpServletRequest |
getRequest() |
HttpServletResponse |
getResponse() |
HttpSession |
getSession() |
String |
getTest1() |
void |
setCookie(Map<String,String> value) |
void |
setFacesContext(FacesContext value) |
void |
setParam(Map<String,String> value)
Setter for
param managed bean. |
void |
setParamAnn(Map<String,String> value) |
void |
setParamXml(Map<String,String> value) |
void |
setRequest(HttpServletRequest value) |
void |
setResponse(HttpServletResponse value) |
void |
setSession(HttpSession value) |
void |
setTest1(String value) |
protected HttpServletRequest request
protected HttpServletResponse response
protected Map<String,String> param
This managed property was also specified in a managed-property tag in WEB-INF/faces-config.xml
protected Map<String,String> paramXml
This property is set by a managed-property statement in WEB-INF/faces-config.xml.
protected HttpSession session
protected FacesContext facesContext
public RequestProperties()
public HttpServletRequest getRequest()
public void setRequest(HttpServletRequest value)
public HttpServletResponse getResponse()
public void setResponse(HttpServletResponse value)
public void setParam(Map<String,String> value)
param
managed bean.value
- public Map<String,String> getParamXml()
public void setParamXml(Map<String,String> value)
public Map<String,String> getParamAnn()
public void setParamAnn(Map<String,String> value)
public HttpSession getSession()
public void setSession(HttpSession value)
public FacesContext getFacesContext()
public void setFacesContext(FacesContext value)