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
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev