public class AdminUtils extends Object
| Constructor and Description |
|---|
AdminUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encodeURL(String string)
Copied from OmniFaces to avoid version conflicts URL-encode the given string
using UTF-8.
|
static javax.servlet.http.HttpServletRequest |
getRequest(javax.faces.context.FacesContext context) |
static void |
redirect(String url,
Object... paramValues) |
public static void redirect(String url, Object... paramValues)
url - paramValues - public static javax.servlet.http.HttpServletRequest getRequest(javax.faces.context.FacesContext context)
public static String encodeURL(String string)
string - The string to be URL-encoded using UTF-8.null if
null was given.UnsupportedOperationException - When this platform does not support
UTF-8.Copyright © 2019. All rights reserved.