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 2021/04/23 08:42:44 UTC

[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #2359: standalone和servlet两种模式下的HttpServerFilter

liubao68 edited a comment on issue #2359:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2359#issuecomment-825499459


   实现 httpServerFileter的时候,注意实现 `needCacheRequest` 方法, 返回 true,并显示的读取流 `getInputSteam`,然后流的内容会缓存到bodyBuffer里面。 servlet的流只能读取一次,需要显示的缓存,避免多次读取。 


-- 
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