|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResponseBodyReader
Callback interface for receiving notification of response body content.
| Method Summary | |
|---|---|
boolean |
accept(Request request,
Response response)
Indicate whether this reader is interested in the specified response. |
void |
close()
Notifies the reader that the end of the content was reached. |
void |
read(byte[] buffer,
int offset,
int length)
Receive notification of body content. |
| Method Detail |
|---|
boolean accept(Request request,
Response response)
void read(byte[] buffer,
int offset,
int length)
buffer - the content bufferoffset - the offset within the buffer that content startslength - the length of the contentvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||