|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpResponse
Container class for HTTP responses.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |