Skip to main content

How To Monitor Packet Usage On Java WS?

1 reply [Last post]
tomkrezi
Offline
Joined: 2009-11-22
Points: 0

Hi, I hope anyone can do me a little favor.

Say I have a Web Application (J2EE) that's been coupled with a Java Web Service(*).
I can then access it through a handphone, via Java ME Web Service Client that's been connected with the Java Web Service(*) before.

So I just wanna add a simple feature. When someone use a service, I'd like to give an info about its transferred packet size, just like in Windows network properties (sent/received).

But I can't find any APIs/features/methods that's able to comply that need.
Anyone can help?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
felix49
Offline
Joined: 2005-02-22
Points: 0

The HTTP Header [b]Content-length[/b] gives you the data size ...
Is it what you want ?