/** * Returns the MIME type for the content of the error message contained in * this element. * * @return MIME type for the content of the error message contained in this * element */ public ContentType getContentType() { return getAttributeValue(CONTENT_TYPE); }
/** * Returns the MIME type for the content of the error message contained in * this element. * * @return MIME type for the content of the error message contained in this * element */ public ContentType getContentType() { return getAttributeValue(CONTENT_TYPE); }
/** * Returns the short message describing this status. * * @return short message describing this status */ public String getReason() { return getAttributeValue(REASON); }
/** * Returns the MIME type for the content of the error message contained in * this element. * * @return MIME type for the content of the error message contained in this * element */ public ContentType getContentType() { return getAttributeValue(CONTENT_TYPE); }
/** * Returns the short message describing this status. * * @return short message describing this status */ public String getReason() { return getAttributeValue(REASON); }
/** * Returns the short message describing this status. * * @return short message describing this status */ public String getReason() { return getAttributeValue(REASON); }
@Override public String toString() { return "{BatchStatus code=" + getAttributeValue(CODE) + " content=" + getTextValue() + " contentType=" + getAttributeValue(CONTENT_TYPE) + " reason=" + getAttributeValue(REASON) + "}"; } }
/** * Returns the HTTP response code. * * @return HTTP response code */ public int getCode() { Integer code = getAttributeValue(CODE); return code == null ? 0 : code.intValue(); }
@Override public String toString() { return "{BatchStatus code=" + getAttributeValue(CODE) + " content=" + getTextValue() + " contentType=" + getAttributeValue(CONTENT_TYPE) + " reason=" + getAttributeValue(REASON) + "}"; } }
@Override public String toString() { return "{BatchStatus code=" + getAttributeValue(CODE) + " content=" + getTextValue() + " contentType=" + getAttributeValue(CONTENT_TYPE) + " reason=" + getAttributeValue(REASON) + "}"; } }
/** * Returns the HTTP response code. * * @return HTTP response code */ public int getCode() { Integer code = getAttributeValue(CODE); return code == null ? 0 : code.intValue(); }
/** * Returns the HTTP response code. * * @return HTTP response code */ public int getCode() { Integer code = getAttributeValue(CODE); return code == null ? 0 : code.intValue(); }