|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.api.client.filter.ContainerListener
public abstract class ContainerListener
ContainerListener abstract class
| Constructor Summary | |
|---|---|
ContainerListener()
|
|
| Method Summary | |
|---|---|
void |
onFinish()
Called when last byte of response entity is read or (if entity is not present in response) after sending request. |
void |
onReceived(long delta,
long bytes)
Called when any amount of bytes is read from responses entity |
void |
onReceiveStart(long totalBytes)
Called when receive starts. |
void |
onSent(long delta,
long bytes)
Called when any amount of bytes from request entity is written (sent). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerListener()
| Method Detail |
|---|
public void onSent(long delta,
long bytes)
bytes - sum of send bytespublic void onReceiveStart(long totalBytes)
totalBytes - entity size in response (taken from http header
"Content-Length"; set to -1 if it's missing)
public void onReceived(long delta,
long bytes)
bytes - sum of received bytespublic void onFinish()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||