Class CollectionLeafResource


  • @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
    public abstract class CollectionLeafResource
    extends AbstractResource
    Author:
    Rajeshwar Patil
    • Constructor Detail

      • CollectionLeafResource

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

      • setEntity

        public void setEntity​(List<String> p)
      • setParentAndTagName

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

        @GET
        public jakarta.ws.rs.core.Response get​(@QueryParam("expandLevel") @DefaultValue("1")
                                               int expandLevel)
      • delete

        @DELETE
        @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"})
        public jakarta.ws.rs.core.Response delete​(HashMap<String,​String> data)
      • options

        @OPTIONS
        @Produces({"text/html","application/json","application/xml"})
        public jakarta.ws.rs.core.Response options()
      • addDefaultParameter

        protected void addDefaultParameter​(Map<String,​String> data)
      • getPostCommand

        protected String getPostCommand()
      • getDeleteCommand

        protected String getDeleteCommand()
      • getName

        protected String getName()
      • escapeOptionPart

        protected String escapeOptionPart​(String part)
        Escapes special chars (e.g., colons) in a JVM Option part
        Parameters:
        part -
        Returns:
      • deleteExistingOptions

        protected Map<String,​String> deleteExistingOptions()