Class CollectionLeafResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- org.glassfish.admin.rest.resources.CollectionLeafResource
-
@Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"}) public abstract class CollectionLeafResource extends AbstractResource
- Author:
- Rajeshwar Patil
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
entity
protected boolean
isJvmOptions
static LocalStringManagerImpl
localStrings
protected Dom
parent
protected String
profiler
protected String
tagName
protected String
target
-
Fields inherited from class org.glassfish.admin.rest.resources.AbstractResource
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo
-
-
Constructor Summary
Constructors Constructor Description CollectionLeafResource()
Creates a new instance of xxxResource
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
add(HashMap<String,String> data)
Deprecated.protected void
addDefaultParameter(Map<String,String> data)
protected ActionReportResult
buildActionReportResult()
jakarta.ws.rs.core.Response
create(HashMap<String,String> data)
jakarta.ws.rs.core.Response
delete(HashMap<String,String> data)
protected Map<String,String>
deleteExistingOptions()
protected String
escapeOptionPart(String part)
Escapes special chars (e.g., colons) in a JVM Option partjakarta.ws.rs.core.Response
get(int expandLevel)
protected String
getDeleteCommand()
List<String>
getEntity()
protected Map<String,MethodMetaData>
getMethodMetaData()
protected String
getName()
protected String
getPostCommand()
jakarta.ws.rs.core.Response
options()
protected Map<String,String>
processData(Map<String,String> data, boolean removeVersioning)
void
setEntity(List<String> p)
void
setParentAndTagName(Dom parent, String tagName)
-
Methods inherited from class org.glassfish.admin.rest.resources.AbstractResource
getAuthenticatedUser, getSubject
-
-
-
-
Method Detail
-
get
@GET public jakarta.ws.rs.core.Response get(@QueryParam("expandLevel") @DefaultValue("1") int expandLevel)
-
create
@POST @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) public jakarta.ws.rs.core.Response create(HashMap<String,String> data) throws TransactionFailure
- Throws:
TransactionFailure
-
add
@PUT @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) @Deprecated public jakarta.ws.rs.core.Response add(HashMap<String,String> data) throws TransactionFailure
Deprecated.- Throws:
TransactionFailure
-
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()
-
buildActionReportResult
protected ActionReportResult buildActionReportResult()
-
getMethodMetaData
protected Map<String,MethodMetaData> getMethodMetaData()
-
getPostCommand
protected String getPostCommand()
-
getDeleteCommand
protected String getDeleteCommand()
-
getName
protected String getName()
-
processData
protected Map<String,String> processData(Map<String,String> data, boolean removeVersioning)
-
escapeOptionPart
protected String escapeOptionPart(String part)
Escapes special chars (e.g., colons) in a JVM Option part- Parameters:
part
-- Returns:
-
-