public class ClientYamlTestResponseException
extends java.io.IOException
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.client.ResponseException |
getResponseException()
Exposes the origina
ResponseException . |
ClientYamlTestResponse |
getRestTestResponse()
Exposes the obtained response body
|
public ClientYamlTestResponse getRestTestResponse()
public org.elasticsearch.client.ResponseException getResponseException()
ResponseException
. Note that the entity will always be null as it
gets eagerly consumed and exposed through getRestTestResponse()
.