public interface Response extends HttpHeaders
CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_MD5, CONTENT_TYPE, LAST_MODIFIED, LOCATION, WRITABLE_CONTENT_TYPE
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the response code.
|
byte[] |
getContent()
Returns the full content of the response.
|
String |
getHeader(String name)
Returns the value of a named header.
|
Metadata |
getHeaders()
Returns all the headers.
|
URL |
getUrl()
Returns the URL used to retrieve this response.
|
Copyright © 2014 The Apache Software Foundation