org.springframework.extensions.webscripts
Class WebScriptStatus

java.lang.Object
  extended by org.springframework.extensions.webscripts.WebScriptStatus

Deprecated.

public class WebScriptStatus
extends Object

Web Script Status (version 2.x) NOTE: PROVIDED FOR BACKWARDS COMPATIBILITY ONLY - see org.alfresco.web.scripts.Statust

Author:
davidc

Constructor Summary
WebScriptStatus(Status status)
          Deprecated. Construct
 
Method Summary
 int getCode()
          Deprecated.  
 String getCodeDescription()
          Deprecated. Gets the description of the status code
 String getCodeName()
          Deprecated. Gets the short name of the status code
 Throwable getException()
          Deprecated.  
 String getMessage()
          Deprecated.  
 boolean getRedirect()
          Deprecated.  
 void setCode(int code)
          Deprecated.  
 void setException(Throwable exception)
          Deprecated.  
 void setMessage(String message)
          Deprecated.  
 void setRedirect(boolean redirect)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebScriptStatus

public WebScriptStatus(Status status)
Deprecated. 
Construct

Parameters:
status -
Method Detail

setException

public void setException(Throwable exception)
Deprecated. 
Parameters:
exception -

getException

public Throwable getException()
Deprecated. 
Returns:
exception

setMessage

public void setMessage(String message)
Deprecated. 
Parameters:
message -

getMessage

public 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:
javax.servlet.http.HTTPServletResponse

getCode

public int getCode()
Deprecated. 
Returns:
status code

getCodeName

public String getCodeName()
Deprecated. 
Gets the short name of the status code

Returns:
status code name

getCodeDescription

public String getCodeDescription()
Deprecated. 
Gets the description of the status code

Returns:
status code description


Copyright © 2009 SpringSource, Inc. All Rights Reserved.