public final class JSFUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JSFUtils.StatusCode |
Modifier and Type | Method and Description |
---|---|
static String |
getMessage(String key,
String... params) |
static void |
redirect(String page)
Deprecated.
causes ConcurrentModificationException in Glassfish 3.1 (when called during preRenderView)
|
static void |
sendStatusCode(JSFUtils.StatusCode code)
Sends the given status code and completes the jsf response.
|
static void |
sendStatusCode(JSFUtils.StatusCode code,
String message)
Sends the given status code and completes the jsf response.
|
public static void sendStatusCode(JSFUtils.StatusCode code) throws IOException
code
- IOException
public static void sendStatusCode(JSFUtils.StatusCode code, String message) throws IOException
code
- http status codemessage
- a message, may beIOException
@Deprecated public static void redirect(String page)
page
- Copyright © 2013. All rights reserved.