public final class HtmlStatusResponseFactory extends Object
| 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" pageCopyright © 2010 - 2020 Adobe. All Rights Reserved