HtmlStatusResponseFactory instead@Deprecated public class HtmlStatusResponseHelper extends Object
| Constructor and Description |
|---|
HtmlStatusResponseHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static HtmlResponse |
createStatusResponse(boolean success,
String message)
Deprecated.
Create a html status response
|
static HtmlResponse |
createStatusResponse(boolean success,
String[] messages,
String[] paths)
Deprecated.
Create a html status response
|
static HtmlResponse |
createStatusResponse(boolean success,
String message,
String path)
Deprecated.
Create a html status response
|
static HtmlResponse |
createStatusResponse(int status,
String message)
Deprecated.
Create a html status response
|
static HtmlResponse |
createStatusResponse(int status,
String message,
String path)
Deprecated.
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" pageCopyright © 2010 - 2020 Adobe. All Rights Reserved