Am 20.10.2014 14:52, schrieb Geod24:

Note: Only @fromRequest is in the PR, but @fromQuery should follow pretty soon, should the design suits you Sönke ;)

I've just taken a very quick look and I think it should be fine. I
currently don't have the time for a proper review, but I'll try to do
that as soon as the 0.7.21 release is done.

If you just need to get a value from the header / query in the server, @before would be fine.
You however have to know that the function must be visible to the interface, thus it will leak in the client side. So avoid anything that's not self-contained.
In addition, it works server-side, but not client-side (meaning that you cannot send a parameter through header with the REST generator, you have to do it by hand).

Why doesn't it work on the client? I definitely think it should.