Class ControllerResponse

    • Constructor Detail

      • ControllerResponse

        public ControllerResponse()
    • Method Detail

      • isError

        public boolean isError()
        Starting with Jackson 1.9, if this is the only annotation: JsonIgnore associated with a property, it will also cause the whole property to be ignored. So we need to explicitly specify JsonProperty with getError() and setError(String)
      • getCluster

        public java.lang.String getCluster()
      • setCluster

        public void setCluster​(java.lang.String cluster)
      • getName

        public java.lang.String getName()
      • getErrorType

        public ErrorType getErrorType()
      • getExceptionType

        public ExceptionType getExceptionType()
      • setName

        public void setName​(java.lang.String name)
      • getError

        public java.lang.String getError()
      • setError

        public void setError​(java.lang.String error)
      • setError

        public void setError​(java.lang.String error,
                             java.lang.Throwable e)
      • setError

        public void setError​(java.lang.Throwable e)
      • setErrorType

        public void setErrorType​(ErrorType errorType)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object