|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 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)
delta
- the number of bytes sent for this eventbytes
- the total number of bytes sent so farpublic 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)
delta
- the number of bytes received for this eventbytes
- the total number of bytes received so farpublic void onFinish()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |