Add data to RequestContext

java

(Felix Nensa) #1

Dear experts,

I am wondering if it is possible to make data of any kind available to custom downstream directives without explicitly passing them as parameters to the respective functions?
The only “solution” I came up so far was to use mapRequest() and add the parameter as an “X-” header to the HttpRequest … but that is definitely too much of a hack :slight_smile:

How would you do that?

Thanks, Felix