Package org.rostore.service
Class ContainerAdminService
java.lang.Object
org.rostore.service.ContainerAdminService
@Path("/admin/container")
@Produces("application/json")
@RequestScoped
public class ContainerAdminService
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
createContainer
(String containerName, ContainerMeta meta) jakarta.ws.rs.core.Response
deleteContainer
(String containerName) jakarta.ws.rs.core.Response
getContainerMeta
(String containerName) jakarta.ws.rs.core.Response
getContainerSpace
(String containerName)
-
Constructor Details
-
ContainerAdminService
public ContainerAdminService()
-
-
Method Details
-
createContainer
@POST @Consumes("application/json") @Path("/{container}") public jakarta.ws.rs.core.Response createContainer(@PathParam("container") String containerName, ContainerMeta meta) -
deleteContainer
@DELETE @Consumes("application/json") @Path("/{container}") public jakarta.ws.rs.core.Response deleteContainer(@PathParam("container") String containerName) -
getContainerMeta
@GET @Path("/{container}/meta") public jakarta.ws.rs.core.Response getContainerMeta(@PathParam("container") String containerName) -
getContainerSpace
@GET @Path("/{container}/space") public jakarta.ws.rs.core.Response getContainerSpace(@PathParam("container") String containerName)
-