|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
protected static interface RequestWriter.RequestEntityWriterListener
A lister for listening to events when writing a request entity.
| Method Summary | |
|---|---|
OutputStream |
onGetOutputStream()
Called when the output stream is required to write the request entity. |
void |
onRequestEntitySize(long size)
Called when the size of the request entity is obtained. |
| Method Detail |
|---|
void onRequestEntitySize(long size)
throws IOException
Enables the appropriate setting of HTTP headers for the size of the request entity and/or configure an appropriate transport encoding.
size - the size, in bytes, of the request entity, otherwise -1
if the size cannot be determined before serialization.
IOException
OutputStream onGetOutputStream()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||