public interface HttpResponse
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Gets the HttpResponse body.
|
String |
getFinalUri()
Gets the final URI from where the document was obtained,
after following redirects.
|
org.apache.http.Header |
getResponseHeader(String headerName)
Gets the first header matching the provided headerName parameter,
or null if no header with that name exists.
|
org.apache.http.Header[] |
getResponseHeaders(String headerName)
Gets an array of Header objects for the provided headerName parameter.
|
int |
getStatusCode()
Gets the status code of the HttpResponse.
|
boolean |
isBodySizeExceeded()
Returns true if the HTTP response size exceeded the maximum
allowed by the (default) HttpRequestOptions.
|
int getStatusCode()
String getFinalUri()
org.apache.http.Header getResponseHeader(String headerName)
org.apache.http.Header[] getResponseHeaders(String headerName)
String getBody()
boolean isBodySizeExceeded()
Copyright © 2013 Sxip. All Rights Reserved.