liubao68 commented on a change in pull request #1767:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/1767#discussion_r428391942



##########
File path: 
swagger/swagger-invocation/invocation-core/src/main/java/org/apache/servicecomb/swagger/invocation/context/InvocationContext.java
##########
@@ -36,6 +38,11 @@
 
   protected Map<String, Object> localContext = new HashMap<>();
 
+  /**
+   * the vertx context that start the invocation
+   */
+  protected Context vertxContext;

Review comment:
       How about this ?
   
   ```
   Interface TransportContext
   
   interface TransportProviderContext extends TransportContext
   interface TransportConsumerContext extends TransportContext
   
   class VertxTransportProviderContext implments TransportContext 
       {Context vertxContext; RoutingContext routingContext; ...}
   class ServletTransportProviderContext implements TransportContext
       {HttpServletRequest rquest; HttpServletResponse response;}
   ```
   
   




----------------------------------------------------------------
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:
[email protected]


Reply via email to