public class VaultResponseEntity<T> extends Object
VaultAccessor
. Consists of the body, status code the location and a
message. The body
is empty for all non-successful results. This class is immutable.Modifier and Type | Method and Description |
---|---|
T |
getBody() |
String |
getMessage() |
HttpStatus |
getStatusCode() |
URI |
getUri() |
boolean |
hasBody() |
boolean |
isSuccessful() |
public boolean isSuccessful()
public boolean hasBody()
public T getBody()
public HttpStatus getStatusCode()
HttpStatus
of this entity.public String getMessage()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.