|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
protected static interface TerminatingClientHandler.RequestEntityWriterListener
A lister for listensing to events when writing a request entity.
The listener is registered when invoking the
TerminatingClientHandler.writeRequestEntity(com.sun.jersey.api.client.ClientRequest, com.sun.jersey.api.client.TerminatingClientHandler.RequestEntityWriterListener)
method.
| Method Summary | |
|---|---|
java.io.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 java.io.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.
java.io.IOException
java.io.OutputStream onGetOutputStream()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||