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/07/08 14:21:27 UTC

[GitHub] [servicecomb-java-chassis] wisper-shadow commented on issue #2444: handler能否获取response对象,希望拿到responseBody

wisper-shadow commented on issue #2444:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2444#issuecomment-876481496


   > Handler的Invocation包含了已经解析的Response。
   > 
   > ```
   >   invocation.next(response -> ...)
   > ```
   
   在next中使用lambda函数确实可以去到JsonObject响应,但是处理后,asyncResp不再向后传递,后续Filter不执行,且接口不返回结果,拿到responseBody的最佳实践应该是什么呢?


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org