Package com.day.cq.commons.servlets
Class HtmlStatusResponseHelper
java.lang.Object
com.day.cq.commons.servlets.HtmlStatusResponseHelper
Deprecated.
Helper class for creating status responses for html requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlResponse
createStatusResponse
(boolean success, String message) Deprecated.Create a html status responsestatic HtmlResponse
createStatusResponse
(boolean success, String[] messages, String[] paths) Deprecated.Create a html status responsestatic HtmlResponse
createStatusResponse
(boolean success, String message, String path) Deprecated.Create a html status responsestatic HtmlResponse
createStatusResponse
(int status, String message) Deprecated.Create a html status responsestatic HtmlResponse
createStatusResponse
(int status, String message, String path) Deprecated.Create a html status response
-
Constructor Details
-
HtmlStatusResponseHelper
public HtmlStatusResponseHelper()Deprecated.
-
-
Method Details
-
createStatusResponse
Deprecated.Create a html status response- Parameters:
success
-true
if action succeededmessage
- Action/error messagepath
- path of the "modified" page- Returns:
- the html response
-
createStatusResponse
Deprecated.Create a html status response- Parameters:
status
- status codemessage
- Action/error messagepath
- path of the "modified" page- Returns:
- the html response
-
createStatusResponse
Deprecated.Create a html status response- Parameters:
success
-true
if action succeededmessage
- Action/error message- Returns:
- the html response
-
createStatusResponse
Deprecated.Create a html status response- Parameters:
status
- http status codemessage
- Action/error message- Returns:
- the html response
-
createStatusResponse
Deprecated.Create a html status response- Parameters:
success
-true
if action succeededmessages
- Action/error messagespaths
- paths of the "modified" page- Returns:
- the html response
-
HtmlStatusResponseFactory
instead