public abstract class FacesUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addError(Exception exception) |
static void |
addMessage(String message) |
static void |
download(byte[] bytes,
String fileName) |
static <T> T |
getBean(String name,
Class<T> clazz) |
static javax.faces.context.FacesContext |
getFacesContext() |
static String |
getMessage(String name,
String key) |
static javax.servlet.http.HttpServletRequest |
getRequest() |
static ResourceBundle |
getResourceBundle(String name) |
static javax.servlet.http.HttpServletResponse |
getResponse() |
static javax.servlet.ServletContext |
getServletContext() |
static javax.servlet.http.HttpSession |
getSession() |
public static void addMessage(String message)
public static void addError(Exception exception)
public static javax.faces.context.FacesContext getFacesContext()
public static ResourceBundle getResourceBundle(String name)
public static javax.servlet.http.HttpServletRequest getRequest()
public static javax.servlet.http.HttpServletResponse getResponse()
public static javax.servlet.http.HttpSession getSession()
public static javax.servlet.ServletContext getServletContext()
public static void download(byte[] bytes,
String fileName)
throws IOException
IOExceptionCopyright © 2012 Woodstock Tecnologia. All Rights Reserved.