com.eurotech.framework.message
Class EsfResponsePayload
java.lang.Object
com.eurotech.framework.message.EsfPayload
com.eurotech.framework.message.EsfResponsePayload
public class EsfResponsePayload
- extends EsfPayload
Methods inherited from class com.eurotech.framework.message.EsfPayload |
addMetric, getBody, getMetric, getPosition, getTimestamp, metricNames, metrics, metricsIterator, removeAllMetrics, removeMetric, setBody, setPosition, setTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESPONSE_CODE_OK
public static final int RESPONSE_CODE_OK
- See Also:
- Constant Field Values
RESPONSE_CODE_BAD_REQUEST
public static final int RESPONSE_CODE_BAD_REQUEST
- See Also:
- Constant Field Values
RESPONSE_CODE_NOTFOUND
public static final int RESPONSE_CODE_NOTFOUND
- See Also:
- Constant Field Values
RESPONSE_CODE_ERROR
public static final int RESPONSE_CODE_ERROR
- See Also:
- Constant Field Values
METRIC_RESPONSE_CODE
public static final String METRIC_RESPONSE_CODE
- See Also:
- Constant Field Values
METRIC_EXCEPTION_MSG
public static final String METRIC_EXCEPTION_MSG
- See Also:
- Constant Field Values
METRIC_EXCEPTION_STACK
public static final String METRIC_EXCEPTION_STACK
- See Also:
- Constant Field Values
EsfResponsePayload
public EsfResponsePayload(int responseCode)
EsfResponsePayload
public EsfResponsePayload(Throwable t)
EsfResponsePayload
public EsfResponsePayload(int responseCode,
Throwable t)
EsfResponsePayload
public EsfResponsePayload(EsfPayload esfPayload)
getResponseCode
public int getResponseCode()
setResponseCode
public void setResponseCode(int responseCode)
getExceptionMessage
public String getExceptionMessage()
setExceptionMessage
public void setExceptionMessage(String message)
getExceptionStack
public String getExceptionStack()
setExceptionStack
public void setExceptionStack(String stack)
setException
public void setException(Throwable t)
Copyright © 2013. All Rights Reserved.