Class LeafResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- org.glassfish.admin.rest.resources.LeafResource
-
public abstract class LeafResource extends AbstractResource
- Author:
- Ludovic Champenois
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LeafResource.LeafContent
-
Field Summary
Fields Modifier and Type Field Description protected LeafResource.LeafContent
entity
static LocalStringManagerImpl
localStrings
protected Dom
parent
protected String
tagName
-
Fields inherited from class org.glassfish.admin.rest.resources.AbstractResource
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo
-
-
Constructor Summary
Constructors Constructor Description LeafResource()
Creates a new instance of xxxResource
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionReportResult
buildActionReportResult()
ActionReportResult
create(HashMap<String,String> data)
ActionReportResult
delete(HashMap<String,String> data)
ActionReportResult
get(int expandLevel)
LeafResource.LeafContent
getEntity()
protected Map<String,MethodMetaData>
getMethodMetaData()
protected String
getName()
ActionReportResult
options()
void
setEntity(LeafResource.LeafContent p)
void
setParentAndTagName(Dom parent, String tagName)
-
Methods inherited from class org.glassfish.admin.rest.resources.AbstractResource
getAuthenticatedUser, getSubject
-
-
-
-
Field Detail
-
entity
protected LeafResource.LeafContent entity
-
parent
protected Dom parent
-
tagName
protected String tagName
-
localStrings
public static final LocalStringManagerImpl localStrings
-
-
Method Detail
-
setEntity
public void setEntity(LeafResource.LeafContent p)
-
getEntity
public LeafResource.LeafContent getEntity()
-
get
@GET @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"}) public ActionReportResult get(@QueryParam("expandLevel") @DefaultValue("1") int expandLevel)
-
create
@POST @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"}) @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) public ActionReportResult create(HashMap<String,String> data)
-
delete
@DELETE @Produces({"text/html","application/json","application/xml","application/x-www-form-urlencoded"}) @Consumes({"application/json","application/xml","application/x-www-form-urlencoded"}) public ActionReportResult delete(HashMap<String,String> data)
-
options
@OPTIONS @Produces({"text/html","application/json","application/xml"}) public ActionReportResult options()
-
buildActionReportResult
protected ActionReportResult buildActionReportResult()
-
getMethodMetaData
protected Map<String,MethodMetaData> getMethodMetaData()
-
getName
protected String getName()
-
-