@Path(value="/camp/v11") @Produces(value="application/json") public class PlatformRestResource extends AbstractCampRestResource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAMP_URI_PATH |
Constructor and Description |
---|
PlatformRestResource() |
Modifier and Type | Method and Description |
---|---|
PlatformDto |
get() |
javax.ws.rs.core.Response |
postArchive(javax.ws.rs.core.UriInfo info,
java.io.InputStream archiveInput) |
javax.ws.rs.core.Response |
postJson(javax.ws.rs.core.UriInfo info,
java.lang.String json) |
javax.ws.rs.core.Response |
postYaml(javax.ws.rs.core.UriInfo info,
java.lang.String yaml) |
camp, context, dto, lookup
public static final java.lang.String CAMP_URI_PATH
@GET public PlatformDto get()
@POST @Consumes(value="application/json") public javax.ws.rs.core.Response postJson(@Context javax.ws.rs.core.UriInfo info, java.lang.String json)
@POST @Consumes(value="application/x-yaml") public javax.ws.rs.core.Response postYaml(@Context javax.ws.rs.core.UriInfo info, java.lang.String yaml)
@POST @Consumes(value={"application/x-tar","application/x-tgz","application/x-zip"}) public javax.ws.rs.core.Response postArchive(@Context javax.ws.rs.core.UriInfo info, java.io.InputStream archiveInput)