Package com.day.cq.commons.servlets
Class HtmlStatusResponseHelper
- java.lang.Object
-
- com.day.cq.commons.servlets.HtmlStatusResponseHelper
-
@Deprecated public class HtmlStatusResponseHelper extends java.lang.ObjectDeprecated.useHtmlStatusResponseFactoryinsteadHelper class for creating status responses for html requests.
-
-
Constructor Summary
Constructors Constructor Description HtmlStatusResponseHelper()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HtmlResponsecreateStatusResponse(boolean success, java.lang.String message)Deprecated.Create a html status responsestatic HtmlResponsecreateStatusResponse(boolean success, java.lang.String[] messages, java.lang.String[] paths)Deprecated.Create a html status responsestatic HtmlResponsecreateStatusResponse(boolean success, java.lang.String message, java.lang.String path)Deprecated.Create a html status responsestatic HtmlResponsecreateStatusResponse(int status, java.lang.String message)Deprecated.Create a html status responsestatic HtmlResponsecreateStatusResponse(int status, java.lang.String message, java.lang.String path)Deprecated.Create a html status response
-
-
-
Method Detail
-
createStatusResponse
public static HtmlResponse createStatusResponse(boolean success, java.lang.String message, java.lang.String path)
Deprecated.Create a html status response- Parameters:
success-trueif action succeededmessage- Action/error messagepath- path of the "modified" page- Returns:
- the html response
-
createStatusResponse
public static HtmlResponse createStatusResponse(int status, java.lang.String message, java.lang.String path)
Deprecated.Create a html status response- Parameters:
status- status codemessage- Action/error messagepath- path of the "modified" page- Returns:
- the html response
-
createStatusResponse
public static HtmlResponse createStatusResponse(boolean success, java.lang.String message)
Deprecated.Create a html status response- Parameters:
success-trueif action succeededmessage- Action/error message- Returns:
- the html response
-
createStatusResponse
public static HtmlResponse createStatusResponse(int status, java.lang.String message)
Deprecated.Create a html status response- Parameters:
status- http status codemessage- Action/error message- Returns:
- the html response
-
createStatusResponse
public static HtmlResponse createStatusResponse(boolean success, java.lang.String[] messages, java.lang.String[] paths)
Deprecated.Create a html status response- Parameters:
success-trueif action succeededmessages- Action/error messagespaths- paths of the "modified" page- Returns:
- the html response
-
-