public class HttpMessages extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Properties |
statusMessages |
| Constructor and Description |
|---|
HttpMessages() |
| Modifier and Type | Method and Description |
|---|---|
static String |
filter(String message)
Filter the specified message string for characters that are sensitive
in HTML.
|
static String |
getMessage(int status)
Get the status string associated with a status code.
|
protected static Properties statusMessages
public static String getMessage(int status)
public static String filter(String message)
message - The message string to be filteredCopyright © 2016 JBoss by Red Hat. All rights reserved.