public interface HttpResponse
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBody()
Gets the HttpResponse body.
|
java.lang.String |
getFinalUri()
Gets the final URI from where the document was obtained,
after following redirects.
|
org.apache.http.Header |
getResponseHeader(java.lang.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(java.lang.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()
java.lang.String getFinalUri()
org.apache.http.Header getResponseHeader(java.lang.String headerName)
org.apache.http.Header[] getResponseHeaders(java.lang.String headerName)
java.lang.String getBody()
boolean isBodySizeExceeded()
Copyright 2006-2008 Sxip Identity Corporation