A handler can do what you want, it (optionally) sucks in data from one end and hands it over to DOS out the other, so you can do as much processing as you like.
I like the AmigaMail vol 2 section on DOS packets, although the information is now present scattered throughout the Autodocs. Other swear by a book (The Amiga Guru or something), but I've never seen that and AFAIK it is long out of print.
My webdav-handler source is here:
http://openamiga.org/?function=viewproject&projectid=63 (click on the SVN link near the bottom of the page to browse through)
Also search for empty-handler, it's a very simple handler implementation with source which will give you the basics. FTPMount is another example.
Consider whether you really need it accessible as a WB browsable volume, if you can get away with command-line access and arbitrary file/path naming it makes the whole thing a lot simpler.