Class WebScriptStatus


  • public class WebScriptStatus
    extends java.lang.Object
    Deprecated.
    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
      int getCode()
      Deprecated.
       
      java.lang.String getCodeDescription()
      Deprecated.
      Gets the description of the status code
      java.lang.String getCodeName()
      Deprecated.
      Gets the short name of the status code
      java.lang.Throwable getException()
      Deprecated.
       
      java.lang.String getMessage()
      Deprecated.
       
      boolean getRedirect()
      Deprecated.
       
      void setCode​(int code)
      Deprecated.
       
      void setException​(java.lang.Throwable exception)
      Deprecated.
       
      void setMessage​(java.lang.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 - 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