public class HtmlStatusResponseHelper extends Object
HtmlResponseHelper
...Constructor and Description |
---|
HtmlStatusResponseHelper() |
Modifier and Type | Method and Description |
---|---|
static HtmlResponse |
createStatusResponse(boolean success,
String message)
Create a html status response
|
static HtmlResponse |
createStatusResponse(boolean success,
String[] messages,
String[] paths)
Create a html status response
|
static HtmlResponse |
createStatusResponse(boolean success,
String message,
String path)
Create a html status response
|
static HtmlResponse |
createStatusResponse(int status,
String message)
Create a html status response
|
static HtmlResponse |
createStatusResponse(int status,
String message,
String path)
Create a html status response
|
public static HtmlResponse createStatusResponse(boolean success, String message, String path)
success
- true
if action succeededmessage
- Action/error messagepath
- path of the "modified" pagepublic static HtmlResponse createStatusResponse(int status, String message, String path)
status
- status codemessage
- Action/error messagepath
- path of the "modified" pagepublic static HtmlResponse createStatusResponse(boolean success, String message)
success
- true
if action succeededmessage
- Action/error messagepublic static HtmlResponse createStatusResponse(int status, String message)
status
- http status codemessage
- Action/error messagepublic static HtmlResponse createStatusResponse(boolean success, String[] messages, String[] paths)
success
- true
if action succeededmessages
- Action/error messagespaths
- paths of the "modified" page"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"