lingxiaod commented on issue #4374:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4374#issuecomment-2175403836

   public class ClassA implements ProducerResponseMapperFactory {
       @Override
       public int getOrder() {
           return 5000;
       }
   
       @Override
       public boolean isMatch(Type producerType) {
           return true;
       }
   
       @Override
       public ProducerResponseMapper 
createResponseMapper(ResponseMapperFactorys<ProducerResponseMapper> factorys,
           Type producerType) {
           Type type = ((ParameterizedType) 
producerType).getActualTypeArguments()[0];
           ProducerResponseMapper responseMapper = 
factorys.createResponseMapper(type);
           return new ClassB(responseMapper);
       }
   }


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to