|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Response
Encapsulates a response from an HTTP server.
| Method Summary | |
|---|---|
org.codehaus.jackson.JsonNode |
asJson()
Returns the JSON response content as a JsonNode, or throws RuntimeMappingException |
Element |
asXml()
Returns the XML response content as an org.w3c.Element, or throws RuntimeMappingException |
String |
getContent()
What was the content of the response? |
List<Header> |
getHeaders()
What headers did the server send? |
long |
getResponseTime()
How long did the response take? |
int |
getStatusCode()
What was the response code? |
| Method Detail |
|---|
int getStatusCode()
String getContent()
List<Header> getHeaders()
long getResponseTime()
org.codehaus.jackson.JsonNode asJson()
Element asXml()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||