Hi, In MSS based on Carbon 5, netty-http is used on top of netty for the JAX-RS engine. Here, netty-http provides JAX-RS annotation processing functionality using reflection. But the way that netty-http supports JX-RS resource classes is bit too much coupled with netty-http implementation.
IE in netty-http: 1. All resource classes should implement co.cask.http.HttpHandler interface. 2. First two parameters of all resource methods must be io.netty.handler.codec.http.HttpRequest and co.cask.http.HttpResponder 3. No support for javax.ws.rs.core.Context In addition to that, there are few missing features in netty-http that we need in MSS that should be implemented in netty-http side. Therefore, in order to use netty-http in MSS, multiple changes have to be done to the netty-http library. In this case, 1. We can do the changes and send pull request. 2. Or we can maintain our own code base. What do you think about these concerns? Thank you. -- Samiyuru Senarathne *Software Engineer* Mobile : +94 (0) 71 134 6087 [email protected]
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
