Class LeafResource


  • public abstract class LeafResource
    extends AbstractResource
    Author:
    Ludovic Champenois
    • Constructor Detail

      • LeafResource

        public LeafResource()
        Creates a new instance of xxxResource
    • Method Detail

      • setParentAndTagName

        public void setParentAndTagName​(Dom parent,
                                        String tagName)
      • get

        @GET
        @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
        public ActionReportResult get​(@QueryParam("expandLevel") @DefaultValue("1")
                                      int expandLevel)
      • create

        @POST
        @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
        @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"})
        public ActionReportResult create​(HashMap<String,​String> data)
      • delete

        @DELETE
        @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
        @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"})
        public ActionReportResult delete​(HashMap<String,​String> data)
      • options

        @OPTIONS
        @Produces({"text/html","application/json","application/xml"})
        public ActionReportResult options()
      • getName

        protected String getName()