Add project description
This commit is contained in:
parent
0c36369356
commit
435b56e7b3
5 changed files with 164 additions and 3 deletions
|
@ -13,7 +13,6 @@ import org.apache.http.util.EntityUtils
|
|||
class Util {
|
||||
static GPathResult extractXmlResponse(CloseableHttpResponse response) {
|
||||
HttpEntity entity = response.entity
|
||||
|
||||
GPathResult xml = new XmlSlurper().parseText(EntityUtils.toString(entity))
|
||||
EntityUtils.consumeQuietly(entity)
|
||||
return xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue