@Produces(value="application/json")
public interface DeploymentRestService
Modifier and Type | Method and Description |
---|---|
DeploymentDto |
createDeployment(javax.ws.rs.core.UriInfo uriInfo,
MultipartFormData multipartFormData) |
DeploymentResource |
getDeployment(String deploymentId) |
List<DeploymentDto> |
getDeployments(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getDeploymentsCount(javax.ws.rs.core.UriInfo uriInfo) |
static final String PATH
@Path(value="/{id}") DeploymentResource getDeployment(@PathParam(value="id") String deploymentId)
@GET @Produces(value="application/json") List<DeploymentDto> getDeployments(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Path(value="/create") @Consumes(value="multipart/form-data") @Produces(value="application/json") DeploymentDto createDeployment(@Context javax.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getDeploymentsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2022. All rights reserved.