Class HttpClient.Response
- java.lang.Object
-
- org.jboss.arquillian.drone.webdriver.utils.HttpClient.Response
-
- Enclosing class:
- HttpClient
public static class HttpClient.Response extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpClient.Responsefrom(org.apache.http.HttpResponse response)static HttpClient.Responsefrom(org.apache.http.HttpResponse response, String charset)StringgetHeader(String header)StringgetPayload()intgetStatusCode()booleanhasPayload()
-
-
-
Method Detail
-
from
public static HttpClient.Response from(org.apache.http.HttpResponse response) throws IOException
- Throws:
IOException
-
from
public static HttpClient.Response from(org.apache.http.HttpResponse response, String charset) throws IOException
- Throws:
IOException
-
hasPayload
public boolean hasPayload()
-
getPayload
public String getPayload()
-
getStatusCode
public int getStatusCode()
-
-