@Path(value="/entity") @Produces(value="application/json") @Consumes(value="application/json") public class RestEntity extends RestBase
| Constructor and Description |
|---|
RestEntity() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
delete(javax.ws.rs.core.UriInfo uriInfo) |
Object |
get(javax.ws.rs.core.UriInfo uriInfo) |
SyncHash.Tree |
getTreeHash(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
post(javax.ws.rs.core.UriInfo uriInfo,
Reader input) |
javax.ws.rs.core.Response |
put(javax.ws.rs.core.UriInfo uriInfo,
Reader input) |
create, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@GET
@Path(value="{path:.+}/treeHash")
public SyncHash.Tree getTreeHash(@Context
javax.ws.rs.core.UriInfo uriInfo)
throws Exception
Exception@GET
@Path(value="{path:.+}")
public Object get(@Context
javax.ws.rs.core.UriInfo uriInfo)
throws Exception
Exception@POST
@Path(value="{path:.+}")
public javax.ws.rs.core.Response post(@Context
javax.ws.rs.core.UriInfo uriInfo,
Reader input)
throws Exception
Exception@PUT
@Path(value="{path:.+}")
public javax.ws.rs.core.Response put(@Context
javax.ws.rs.core.UriInfo uriInfo,
Reader input)
throws Exception
Exception@DELETE
@Path(value="{path:.+}")
public javax.ws.rs.core.Response delete(@Context
javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.