Class TemplateCommandGetResource

  • All Implemented Interfaces:
    OptionsCapable
    Direct Known Subclasses:
    TokenResource

    public class TemplateCommandGetResource
    extends TemplateExecCommand
    Author:
    ludovic champenois [email protected] Code moved from generated classes to here. Gen code inherits from this template class that contains the logic for mapped commands RS Resources
    • Constructor Detail

      • TemplateCommandGetResource

        public TemplateCommandGetResource​(String resourceName,
                                          String commandName,
                                          String commandMethod,
                                          boolean b)
    • Method Detail

      • processGetLegacyFormat

        @GET
        @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
        public jakarta.ws.rs.core.Response processGetLegacyFormat()
      • processGet

        @GET
        @Produces("application/vnd.oracle.glassfish+json")
        public CommandResult processGet()
      • processSseGet

        @GET
        @Produces("text/event-stream")
        public jakarta.ws.rs.core.Response processSseGet()