public class ClientProperties extends Object implements Serializable
MANAGED_BEAN_NAME
.
Please use getInstance(javax.faces.context.FacesContext)
to access to the users client properties.Modifier and Type | Field and Description |
---|---|
static String |
MANAGED_BEAN_NAME
The name of the managed bean
|
Constructor and Description |
---|
ClientProperties()
managed bean constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
static ClientProperties |
getInstance(javax.faces.context.FacesContext facesContext)
Static method to access to the ClientProperties managed bean.
|
Theme |
getTheme() |
UserAgent |
getUserAgent() |
void |
setContentType(String contentType) |
void |
setTheme(Theme theme) |
void |
setUserAgent(UserAgent userAgent) |
void |
updateUserAgent(javax.faces.context.FacesContext facesContext) |
public static final String MANAGED_BEAN_NAME
public static ClientProperties getInstance(javax.faces.context.FacesContext facesContext)
public String getContentType()
public void setContentType(String contentType)
public Theme getTheme()
public void setTheme(Theme theme)
public UserAgent getUserAgent()
public void setUserAgent(UserAgent userAgent)
public void updateUserAgent(javax.faces.context.FacesContext facesContext)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.