Package com.hypnoticocelot.jaxrs.doclet.sample.api

Examples of com.hypnoticocelot.jaxrs.doclet.sample.api.ModelResourceModel


@Path("/ModelResource/{modelid}")
@Produces(MediaType.APPLICATION_JSON)
public class ModelResource {
    @GET
    public ModelResourceModel getModel(@PathParam("modelid") long modelId) {
        return new ModelResourceModel(modelId, "Model Title", "Model Description", new DateTime());
    }
View Full Code Here

TOP

Related Classes of com.hypnoticocelot.jaxrs.doclet.sample.api.ModelResourceModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.