public class BaseController.Result extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
detail |
protected String |
message |
protected String |
status |
protected String |
statusKey |
protected Throwable |
throwable |
Constructor and Description |
---|
Result(String status,
String message) |
Result(String status,
String statusKey,
String message) |
Result(String status,
String statusKey,
String message,
Throwable throwable) |
Result(String status,
String message,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(Element element) |
String |
getDetail() |
ArrayList<Element> |
getElements() |
String |
getMessage() |
String |
getStatus() |
String |
getStatusKey() |
Throwable |
getThrowable() |
String |
getThrowableAsString(String encoding) |
void |
setDetail(String detail) |
protected String status
protected final String statusKey
protected String message
protected String detail
protected Throwable throwable
public String getMessage()
public String getStatus()
public String getStatusKey()
public Throwable getThrowable()
public void setDetail(String detail)
public void addElement(Element element)
public String getDetail()
Copyright © 2022 Visiativ. All rights reserved.