@Path(value="v1/project") public class ProjectRestService extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ProjectRestService.OwnerWrapper
Encapsulador de dono do projeto (em conformidade com as informações
oferecidas na parte servidor.
|
class |
ProjectRestService.ProjectWapper
Encapsulador do projeto corrente.
|
| Constructor and Description |
|---|
ProjectRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCurrentProject()
Processamento do GET
|
javax.ws.rs.core.Response |
resetCurrentProject()
Processamento do DELETE
|
javax.ws.rs.core.Response |
setCurrentProject(String projectId)
Processamento do POST
|
@GET @Produces(value="application/json") public javax.ws.rs.core.Response getCurrentProject()
@POST
@Path(value="{projectId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response setCurrentProject(@PathParam(value="projectId")
String projectId)
projectId - identificador base64 do projeto.@DELETE @Produces(value="application/json") public javax.ws.rs.core.Response resetCurrentProject()
Copyright © 2019. All rights reserved.