public abstract class LeafResource extends AbstractResource
| Modifier and Type | Class and Description |
|---|---|
static class |
LeafResource.LeafContent |
| Modifier and Type | Field and Description |
|---|---|
protected LeafResource.LeafContent |
entity |
static LocalStringManagerImpl |
localStrings |
protected org.jvnet.hk2.config.Dom |
parent |
protected String |
tagName |
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo| Constructor and Description |
|---|
LeafResource()
Creates a new instance of xxxResource
|
| Modifier and Type | Method and 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(org.jvnet.hk2.config.Dom parent,
String tagName) |
getAuthenticatedUser, getSubjectprotected LeafResource.LeafContent entity
protected org.jvnet.hk2.config.Dom parent
protected String tagName
public static final LocalStringManagerImpl localStrings
public void setEntity(LeafResource.LeafContent p)
public LeafResource.LeafContent getEntity()
public void setParentAndTagName(org.jvnet.hk2.config.Dom parent,
String tagName)
@GET
@Produces(value={"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
public ActionReportResult get(@QueryParam(value="expandLevel") @DefaultValue(value="1")
int expandLevel)
@POST
@Produces(value={"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded"})
public ActionReportResult create(HashMap<String,String> data)
@DELETE
@Produces(value={"text/html","application/json","application/xml","application/x-www-form-urlencoded"})
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded"})
public ActionReportResult delete(HashMap<String,String> data)
@OPTIONS
@Produces(value={"text/html","application/json","application/xml"})
public ActionReportResult options()
protected ActionReportResult buildActionReportResult()
protected Map<String,MethodMetaData> getMethodMetaData()
protected String getName()
Copyright © 2017. All rights reserved.