Class WebScriptStatus
- java.lang.Object
-
- org.springframework.extensions.webscripts.WebScriptStatus
-
public class WebScriptStatus extends java.lang.ObjectDeprecated.Web Script Status (version 2.x) NOTE: PROVIDED FOR BACKWARDS COMPATIBILITY ONLY - see org.alfresco.web.scripts.Statust- Author:
- davidc
-
-
Constructor Summary
Constructors Constructor Description WebScriptStatus(Status status)Deprecated.Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCode()Deprecated.java.lang.StringgetCodeDescription()Deprecated.Gets the description of the status codejava.lang.StringgetCodeName()Deprecated.Gets the short name of the status codejava.lang.ThrowablegetException()Deprecated.java.lang.StringgetMessage()Deprecated.booleangetRedirect()Deprecated.voidsetCode(int code)Deprecated.voidsetException(java.lang.Throwable exception)Deprecated.voidsetMessage(java.lang.String message)Deprecated.voidsetRedirect(boolean redirect)Deprecated.
-
-
-
Constructor Detail
-
WebScriptStatus
public WebScriptStatus(Status status)
Deprecated.Construct- Parameters:
status- Status
-
-
Method Detail
-
setException
public void setException(java.lang.Throwable exception)
Deprecated.- Parameters:
exception- Throwable
-
getException
public java.lang.Throwable getException()
Deprecated.- Returns:
- exception
-
setMessage
public void setMessage(java.lang.String message)
Deprecated.- Parameters:
message- String
-
getMessage
public java.lang.String getMessage()
Deprecated.- Returns:
- message
-
setRedirect
public void setRedirect(boolean redirect)
Deprecated.- Parameters:
redirect- redirect to status code response
-
getRedirect
public boolean getRedirect()
Deprecated.- Returns:
- redirect to status code response
-
setCode
public void setCode(int code)
Deprecated.- Parameters:
code- status code- See Also:
HttpServletResponse
-
getCode
public int getCode()
Deprecated.- Returns:
- status code
-
getCodeName
public java.lang.String getCodeName()
Deprecated.Gets the short name of the status code- Returns:
- status code name
-
getCodeDescription
public java.lang.String getCodeDescription()
Deprecated.Gets the description of the status code- Returns:
- status code description
-
-