public static class HttpClient.Response extends Object
| Constructor and Description |
|---|
Response(String payload,
Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
static HttpClient.Response |
from(org.apache.http.HttpResponse response) |
String |
getHeader(String header) |
String |
getPayload() |
boolean |
hasPayload() |
public boolean hasPayload()
public String getPayload()
public static HttpClient.Response from(org.apache.http.HttpResponse response) throws IOException
IOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.