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 classLeafResource.LeafContent
-
Field Summary
Fields Modifier and Type Field Description protected LeafResource.LeafContententitystatic LocalStringManagerImpllocalStringsprotected Domparentprotected StringtagName-
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 ActionReportResultbuildActionReportResult()ActionReportResultcreate(HashMap<String,String> data)ActionReportResultdelete(HashMap<String,String> data)ActionReportResultget(int expandLevel)LeafResource.LeafContentgetEntity()protected Map<String,MethodMetaData>getMethodMetaData()protected StringgetName()ActionReportResultoptions()voidsetEntity(LeafResource.LeafContent p)voidsetParentAndTagName(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()
-
-