Class TemplateCommandDeleteResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- org.glassfish.admin.rest.resources.TemplateExecCommand
-
- org.glassfish.admin.rest.resources.TemplateCommandDeleteResource
-
- All Implemented Interfaces:
OptionsCapable
@Produces({"text/html","application/json","application/xml"}) public class TemplateCommandDeleteResource 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
-
-
Field Summary
-
Fields inherited from class org.glassfish.admin.rest.resources.TemplateExecCommand
commandAction, commandDisplayName, commandMethod, commandName, ERROR, ERROR_DEFAULT_MESSAGE, ERROR_STRING, isLinkedToParent, localStrings, resourceName
-
Fields inherited from class org.glassfish.admin.rest.resources.AbstractResource
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get()
ActionReportResult
getLegacyFormat()
jakarta.ws.rs.core.Response
hack(ParameterMap data)
CommandResult
processDelete(ParameterMap data)
jakarta.ws.rs.core.Response
processDeleteLegacyFormat(ParameterMap data)
jakarta.ws.rs.core.Response
processDeleteSse(ParameterMap data)
-
Methods inherited from class org.glassfish.admin.rest.resources.TemplateExecCommand
addQueryString, adjustParameters, executeCommand, executeCommandAsSse, executeCommandLegacyFormat, getCommandParams, getParent, getUriInfo, options, optionsLegacyFormat, processCommandParams, purgeEmptyEntries, renameParameter, setUriInfo
-
Methods inherited from class org.glassfish.admin.rest.resources.AbstractResource
getAuthenticatedUser, getSubject
-
-
-
-
Method Detail
-
processDeleteLegacyFormat
@DELETE @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) public jakarta.ws.rs.core.Response processDeleteLegacyFormat(ParameterMap data)
-
processDelete
@DELETE @Produces("application/vnd.oracle.glassfish+json") public CommandResult processDelete(ParameterMap data)
-
processDeleteSse
@DELETE @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) @Produces("text/event-stream") public jakarta.ws.rs.core.Response processDeleteSse(ParameterMap data)
-
hack
@POST @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) public jakarta.ws.rs.core.Response hack(ParameterMap data)
-
getLegacyFormat
@GET public ActionReportResult getLegacyFormat()
-
get
@GET @Produces("application/vnd.oracle.glassfish+json") public String get() throws jakarta.json.JsonException
- Throws:
jakarta.json.JsonException
-
-