|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Response
A response interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.smila.connectivity.framework.crawler.web.metadata.HttpHeaders |
|---|
CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_MD5, CONTENT_TYPE, LAST_MODIFIED, LOCATION |
| Method Summary | |
|---|---|
int |
getCode()
Returns the response code. |
byte[] |
getContent()
Returns the full content of the response. |
java.lang.String |
getHeader(java.lang.String name)
Returns the value of a named header. |
Metadata |
getHeaders()
Returns all the headers. |
java.lang.String |
getUrl()
Returns the URL used to retrieve this response. |
| Method Detail |
|---|
java.lang.String getUrl()
int getCode()
java.lang.String getHeader(java.lang.String name)
name - Header name
Metadata getHeaders()
byte[] getContent()
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||