Mule 3.4.0从http入站端点获取HTTPRequest对象

时间:2013-10-09 16:12:06

标签: httprequest mule inbound

我有一个http:inbound-endpoint。有没有办法在Filter / Interceptor中获取HttpServletRequest对象的句柄? ObjectToHttpClientMethodRequest是答案吗?如果是这样,有人可以提供样品吗?

1 个答案:

答案 0 :(得分:2)

如果您在servlet容器中运行Mule,则需要使用servlet:inbound-endpoint,而不是http:inbound-endpoint

但即便如此,我认为Mule不允许您访问基础HttpServletRequest ...