public class ResponseBody extends Object
| Constructor and Description |
|---|
ResponseBody(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
getElement() |
Element |
getStatusCondition() |
void |
requireConditionDone()
Require that the status condition specified in the response body
equals
DONE. |
<T> List<T> |
unmarshalBodyElements(Class<T> type,
String elementName) |
public ResponseBody(Element element)
public Element getStatusCondition() throws HiveException
HiveExceptionpublic void requireConditionDone()
throws HiveException,
CRCException
DONE. If it doesn't, a CRCException containing the
error message is thrown.HiveException - if the response doesn't contain a status conditionCRCException - if the status condition does not equal DONEpublic <T> List<T> unmarshalBodyElements(Class<T> type, String elementName) throws HiveException
HiveExceptionpublic Element getElement()
Copyright © 2013–2020 R.W.Majeed. All rights reserved.