@Path(value="profiles")
public interface ProfileResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createProfile(ProfileData data) |
javax.ws.rs.core.Response |
createProfileRaw(byte[] data) |
javax.ws.rs.core.Response |
deleteProfile(java.lang.String id) |
javax.ws.rs.core.Response |
listProfiles(java.lang.Integer start,
java.lang.Integer size) |
javax.ws.rs.core.Response |
modifyProfile(java.lang.String id,
ProfileData data) |
javax.ws.rs.core.Response |
modifyProfileRaw(java.lang.String id,
byte[] data) |
javax.ws.rs.core.Response |
modifyProfileState(java.lang.String id,
java.lang.String action) |
javax.ws.rs.core.Response |
retrieveProfile(java.lang.String id) |
javax.ws.rs.core.Response |
retrieveProfileRaw(java.lang.String id) |
@GET javax.ws.rs.core.Response listProfiles(@QueryParam(value="start") java.lang.Integer start, @QueryParam(value="size") java.lang.Integer size)
@GET @Path(value="{id}") javax.ws.rs.core.Response retrieveProfile(@PathParam(value="id") java.lang.String id)
@GET @Path(value="{id}/raw") javax.ws.rs.core.Response retrieveProfileRaw(@PathParam(value="id") java.lang.String id)
@POST javax.ws.rs.core.Response createProfile(ProfileData data)
@POST @Path(value="raw") javax.ws.rs.core.Response createProfileRaw(byte[] data)
@POST @Path(value="{id}") javax.ws.rs.core.Response modifyProfileState(@PathParam(value="id") java.lang.String id, @QueryParam(value="action") java.lang.String action)
@PUT @Path(value="{id}") javax.ws.rs.core.Response modifyProfile(@PathParam(value="id") java.lang.String id, ProfileData data)
@PUT @Path(value="{id}/raw") javax.ws.rs.core.Response modifyProfileRaw(@PathParam(value="id") java.lang.String id, byte[] data)
@DELETE @Path(value="{id}") javax.ws.rs.core.Response deleteProfile(@PathParam(value="id") java.lang.String id)