+1. Since we are providing a subset of JAX-RC specification, we need to be clear on what we support. Otherwise we will get into trouble later. This got to be a public doc.
Initially we forked netty-http to process JAX-RC annotations, but later decided to completely revamp that implementation. Can you give us a summary of the changes we have introduced. Thanks, Sameera. On Thu, Oct 15, 2015 at 10:39 AM, Samiyuru Senarathne <samiy...@wso2.com> wrote: > Sure, we will. > > On Thu, Oct 15, 2015 at 10:33 AM, Sagara Gunathunga <sag...@wso2.com> > wrote: > >> >> Shall we also create a doc with all JAX-RS annotations, extensions and >> mentioning what MSS supported and what not supported ? >> >> Thanks ! >> >> On Thu, Oct 15, 2015 at 10:30 AM, Samiyuru Senarathne <samiy...@wso2.com> >> wrote: >> >>> Hi, >>> >>> We have been developing our own JAX-RS runtime for WSO2 Micro Services >>> Server (MSS). The purpose of that runtime is not to support the full JAX-RS >>> specification but to support a subset of the JAX-RS specification plus a >>> set of additional features focusing on performance and lightweightness to >>> run microservices. >>> >>> With latest development work currently the MSS JAX-RS runtime supports >>> the following features. >>> >>> - The runtime can process annotated POJO JAX-RS resource classes and >>> their annotated methods to create REST service endpoints for valid >>> resource >>> methods. >>> - The runtime supports the following class level annotations. >>> - @Path - Root path for resource methods >>> - @Consumes - Default consume media type(s) for resource methods >>> - @Produces - Default produce media type(s) for resource methods >>> - Supports the following method level annotations. >>> - @Path - Endpoint of the method relative to @Path of the class >>> - @Consumes - Media type(s) that the method can consume >>> - @Produces - Media type(s) that is produced by the method >>> - @GET - HTTP GET method >>> - @PUT - HTTP PUT method >>> - @POST - HTTP POST method >>> - @DELETE - HTTP DELETE method >>> - Supports the following parameter level annotations. >>> - @DefaultValue - Specify a default parameter value >>> - @Context - Inject additional objects. Currently supports >>> injection of io.netty.handler.codec.http.HttpRequest and >>> org.wso2.carbon.mss.HttpResponder >>> - @PathParam - /StockQuote/{*symbol*} to get value of symbol >>> - @QueryParam - /Students?*age=18* to get value of age >>> - @HeaderParam - To read HTTP request header values >>> - Supports returning POJO from resource methods to response by xml >>> or json and getting injected POJO to resource methods for request bodies >>> that are json or xml. >>> - Supports returning *javax.ws.rs.core.Response* objects from >>> resource methods to send HTTP responses in a more customised way. >>> >>> Product-MSS repository url: https://github.com/wso2/product-mss >>> >>> Best Regards, >>> Samiyuru >>> -- >>> Samiyuru Senarathne >>> *Software Engineer* >>> Mobile : +94 (0) 71 134 6087 >>> samiy...@wso2.com >>> >> >> >> >> -- >> Sagara Gunathunga >> >> Architect; WSO2, Inc.; http://wso2.com >> V.P Apache Web Services; http://ws.apache.org/ >> Linkedin; http://www.linkedin.com/in/ssagara >> Blog ; http://ssagara.blogspot.com >> >> > > > -- > Samiyuru Senarathne > *Software Engineer* > Mobile : +94 (0) 71 134 6087 > samiy...@wso2.com > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev