hi hakkers,

i'm working *JAVA* akka-http based app.
i was planning to create a generic handler that handles all common stuff 
and only  exposes a method for custom logic implementation.
my problem is that handlers that will derive from it in the future will use 
different types of inputs. some will expect to receive json in a post body,
others will look for specific params arriving in get and so on.
the only examples i find make use of RequestVals, which in its turn is 
initialized in a "server class", out of handlers' scope.
this means that each time a new handler needs to be implemented i'll have 
to edit that "server class".

my question is if there is any way to access and manage httprequest related 
data within handlers scope in a generic manner?

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to