| |
---|
| | @Component |
---|
| | @Path("/gallery") |
---|
| | public class LayersRest { |
---|
| | |
---|
| | /** |
---|
| | *指定したレイヤー情報(順番、枚数)を獲得するメソッド。 |
---|
| | * @param layerNo レイヤー番号 |
---|
| | * @param aid 作品id |
---|
| | * @param pid ページID |
---|
| | * @return strokeNo{pen, color, thickness, positions{x, y}} |
---|
| | */ |
---|
| | @Path("/{aid}/pageMap/0/layers/0") |
---|
| | @GET |
---|
| | @Produces(MediaType.APPLICATION_JSON) |
---|
| | public void getLayersRest(@PathParam("aid") Integer aid, @FormParam("layerNo") Integer layerNo, @FormParam("pid") Integer pid) { |
---|
| | public void getLayersRest(@PathParam("aid") Integer aid, @QueryParam("layerNo") Integer layerNo, @QueryParam("pid") Integer pid) { |
---|
| | |
---|
| | /* if() { |
---|
| | |
---|
| | } |
---|
| |
---|
| | |