You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/02/27 10:31:36 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1598: 使用HttpServerFilter拦截请求时无法获取body体内容

liubao68 commented on issue #1598: 使用HttpServerFilter拦截请求时无法获取body体内容
URL: https://github.com/apache/servicecomb-java-chassis/issues/1598#issuecomment-591897854
 
 
   可以先看下 httpServletRequestEX 的具体实现类是哪一个, 不同的运行环境这个类的示例不一样, 行为也不一样。 getBodyBuffer 可能为空 。 如果运行于 Servlet 环境, 在实现 HttpServerFilter的时候,注意 'needCacheRequest' 需要返回 true。 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services