users@grizzly.java.net

Re: How get download notification with GrizzlyWebServer?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 16 Feb 2009 16:22:51 -0500

Salut,

Survivant 00 wrote:
> I'll like to get notify when I client download a certain path or file.

You will need to implement such mechanism by extending:

https://grizzly.dev.java.net/nonav/xref/com/sun/grizzly/tcp/StaticResourcesAdapter.html

and make sure, before the file get written (or after) that your listener
get notified.

Does it help?

A+

- Jeanfrancois



>
> liek that I could handle security or be able to count or detect activity
> on a file..