You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "poplar17 (via GitHub)" <gi...@apache.org> on 2023/03/06 01:21:35 UTC

[GitHub] [servicecomb-java-chassis] poplar17 commented on issue #3690: 能够在HttpServerFilter里面修改请求头吗

poplar17 commented on issue #3690:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3690#issuecomment-1455288366

   怎么实现呢,我直接在afterReceiveRequest修改不能实现
   
   ```
   @Override
   public Response afterReceiveRequest(Invocation invocation, HttpServletRequestEx requestEx) {
   
           requestEx.setHeader("timestamp", "X-Timestamp");
   }
   ```


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