|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResponse
Defines a request's response.
| Method Summary | |
|---|---|
java.lang.String |
getBody()
Returns the content of the response as a String. |
java.io.InputStream |
getBodyStream()
Returns the raw InputStream of the response. |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders()
Returns the headers included in the request's response. |
IItem |
getItem()
Returns the response's content as an Item. |
java.lang.String |
getPhrase()
Indicates the phrase of the response status. |
int |
getStatus()
Indicates the status of the request (e.g. |
| Method Detail |
|---|
int getStatus()
java.lang.String getBody()
java.io.InputStream getBodyStream()
IItem getItem()
java.lang.String getPhrase()
java.util.Map<java.lang.String,java.lang.String> getHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||