Wraps a org.springframework.http.ResponseEntity allowing easy access to the underlying JSON or XML response. All methods of org.springframework.http.ResponseEntity are available on this class
| Type | Name and description |
|---|---|
java.lang.String |
encoding |
org.grails.web.json.JSONElement |
json |
org.springframework.http.ResponseEntity |
responseEntity |
java.lang.String |
text |
groovy.util.slurpersupport.GPathResult |
xml |
| Constructor and description |
|---|
RestResponse
(org.springframework.http.ResponseEntity responseEntity) |
| Type | Name and description |
|---|---|
protected java.lang.String |
convertGPathResultToString(java.lang.Object body) |
int |
getStatus() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |