Class TemplateCommandGetResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- org.glassfish.admin.rest.resources.TemplateExecCommand
-
- org.glassfish.admin.rest.resources.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
-
-
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
-
-
Constructor Summary
Constructors Constructor Description TemplateCommandGetResource(String resourceName, String commandName, String commandMethod, boolean b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandResult
processGet()
jakarta.ws.rs.core.Response
processGetLegacyFormat()
jakarta.ws.rs.core.Response
processSseGet()
-
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
-
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()
-
-