| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCipherSuite() |
Certificate[] |
getClientCertificates() |
String |
getContentType()
Return the content type of the response.
|
String |
getCookie(String name) |
Map<String,String> |
getCookies() |
List<String> |
getHeader(String name) |
Map<String,List<String>> |
getHeaders() |
com.fasterxml.jackson.databind.JsonNode |
getJsonNode()
Return the parsed JSON response, if any.
|
String |
getOutput() |
int |
getResponseCode() |
Certificate[] |
getServerCertificates() |
String |
getTag(int index) |
String |
getTag(String key) |
List<String> |
getTagList()
Return a copy of the list of all tags captured as a result
of a call to
Builder.extract(String) |
Map<String,String> |
getTagMap()
Return a copy of the map of all tags captured as a result
of a call to
Builder.extract(String,String) |
long |
getTimeTaken() |
void |
print()
Print response data and optional meta information.
|
public void print()
throws CertificateParsingException,
IOException
public int getResponseCode()
public long getTimeTaken()
public String getCipherSuite()
public Certificate[] getServerCertificates()
public Certificate[] getClientCertificates()
public String getOutput()
public Map<String,String> getTagMap()
Builder.extract(String,String)public List<String> getTagList()
Builder.extract(String)public String getTag(int index)
index - public String getContentType()
public com.fasterxml.jackson.databind.JsonNode getJsonNode()
throws IOException
IOExceptionCopyright © 2018 The Symphony Software Foundation. All rights reserved.