Jeet
Jeet

Reputation: 321

Mule 3.4.0 Get HTTPRequest object from http inbound endpoint

I have an http:inbound-endpoint. Is there any way to get a handle to HttpServletRequest object in a Filter/Interceptor? Is ObjectToHttpClientMethodRequest an answer? If so, could someone please provide a sample?

Upvotes: 0

Views: 434

Answers (1)

David Dossot
David Dossot

Reputation: 33413

If you are running Mule in a servlet container, you need to use servlet:inbound-endpoint, not http:inbound-endpoint.

But even with that, I do not think Mule lets you access the underlying HttpServletRequest...

Upvotes: 2

Related Questions