Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 http:inbound-endpoint。有没有办法在过滤器/拦截器中获取 HttpServletRequest 对象的句柄?ObjectToHttpClientMethodRequest 是答案吗?如果是这样,有人可以提供样品吗?
如果您在 servlet 容器中运行 Mule,则需要使用servlet:inbound-endpoint,而不是http:inbound-endpoint.
servlet:inbound-endpoint
http:inbound-endpoint
但即便如此,我认为 Mule 不会让您访问底层HttpServletRequest......
HttpServletRequest