public class EndpointResponseException
extends com.github.ljtfreitas.restify.http.client.message.converter.HttpMessageReadException
| Constructor and Description |
|---|
EndpointResponseException(java.lang.String message,
EndpointResponse<java.lang.String> response) |
EndpointResponseException(java.lang.String message,
com.github.ljtfreitas.restify.http.client.message.response.StatusCode statusCode,
com.github.ljtfreitas.restify.http.client.message.Headers headers,
java.lang.String body) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
bodyAsString() |
com.github.ljtfreitas.restify.http.client.message.Headers |
headers() |
EndpointResponse<java.lang.String> |
response() |
com.github.ljtfreitas.restify.http.client.message.response.StatusCode |
status() |
public EndpointResponseException(java.lang.String message,
EndpointResponse<java.lang.String> response)
public EndpointResponseException(java.lang.String message,
com.github.ljtfreitas.restify.http.client.message.response.StatusCode statusCode,
com.github.ljtfreitas.restify.http.client.message.Headers headers,
java.lang.String body)
public com.github.ljtfreitas.restify.http.client.message.response.StatusCode status()
public com.github.ljtfreitas.restify.http.client.message.Headers headers()
public java.lang.String bodyAsString()
public EndpointResponse<java.lang.String> response()
Copyright © 2019. All Rights Reserved.