public class ClientYamlTestResponseException
extends java.io.IOException
Constructor | Description |
---|---|
ClientYamlTestResponseException(org.elasticsearch.client.ResponseException responseException) |
Modifier and Type | Method | Description |
---|---|---|
org.elasticsearch.client.ResponseException |
getResponseException() |
Exposes the origina
ResponseException . |
ClientYamlTestResponse |
getRestTestResponse() |
Exposes the obtained response body
|
public ClientYamlTestResponseException(org.elasticsearch.client.ResponseException responseException) throws java.io.IOException
java.io.IOException
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()
.