public class EsfResponsePayload extends EsfPayload
Modifier and Type | Field and Description |
---|---|
static String |
METRIC_EXCEPTION_MSG |
static String |
METRIC_EXCEPTION_STACK |
static String |
METRIC_RESPONSE_CODE |
static int |
RESPONSE_CODE_BAD_REQUEST |
static int |
RESPONSE_CODE_ERROR |
static int |
RESPONSE_CODE_NOTFOUND |
static int |
RESPONSE_CODE_OK |
Constructor and Description |
---|
EsfResponsePayload(EsfPayload esfPayload) |
EsfResponsePayload(int responseCode) |
EsfResponsePayload(int responseCode,
Throwable t) |
EsfResponsePayload(Throwable t) |
Modifier and Type | Method and Description |
---|---|
String |
getExceptionMessage() |
String |
getExceptionStack() |
int |
getResponseCode() |
void |
setException(Throwable t) |
void |
setExceptionMessage(String message) |
void |
setExceptionStack(String stack) |
void |
setResponseCode(int responseCode) |
addMetric, getBody, getMetric, getPosition, getTimestamp, metricNames, metrics, metricsIterator, removeAllMetrics, removeMetric, setBody, setPosition, setTimestamp
public static final int RESPONSE_CODE_OK
public static final int RESPONSE_CODE_BAD_REQUEST
public static final int RESPONSE_CODE_NOTFOUND
public static final int RESPONSE_CODE_ERROR
public static final String METRIC_RESPONSE_CODE
public static final String METRIC_EXCEPTION_MSG
public static final String METRIC_EXCEPTION_STACK
public EsfResponsePayload(int responseCode)
public EsfResponsePayload(Throwable t)
public EsfResponsePayload(int responseCode, Throwable t)
public EsfResponsePayload(EsfPayload esfPayload)
public int getResponseCode()
public void setResponseCode(int responseCode)
public String getExceptionMessage()
public void setExceptionMessage(String message)
public String getExceptionStack()
public void setExceptionStack(String stack)
public void setException(Throwable t)
Copyright © 2013. All Rights Reserved.