@Path(value="/music") public class MusicRestService extends Object
| Constructor and Description |
|---|
MusicRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addSingerDetailsInJSONPOST(Singer singer) |
javax.ws.rs.core.Response |
createMusicInJSONPOST(Music music) |
javax.ws.rs.core.Response |
createMusicInJSONResponsePOST(Music music) |
Music |
getMusicInJSON(String albumName) |
Singer |
getSingerDetailsInJSON(String singerName) |
javax.ws.rs.core.Response |
updateMusicInJSONPUT(Music music) |
@Path(value="/post") public javax.ws.rs.core.Response createMusicInJSONPOST(Music music)
@Path(value="/postjson") public javax.ws.rs.core.Response createMusicInJSONResponsePOST(Music music)
@Path(value="/put") public javax.ws.rs.core.Response updateMusicInJSONPUT(Music music)
@Path(value="/add_singer_details") public javax.ws.rs.core.Response addSingerDetailsInJSONPOST(Singer singer)
Copyright © 2018 WSO2. All rights reserved.