Class MatchMakingResultResource
- java.lang.Object
-
- fi.tut.mei.matchmaking.matching_ws.rest.resources.MatchMakingResultResource
-
@Path("/matchmakingresult") public class MatchMakingResultResource extends Object
TODO- Author:
- ananth, janaka
-
-
Constructor Summary
Constructors Constructor Description MatchMakingResultResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult
getJsonMatchMakingResult(fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResultReq resultReq)
TODOfi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult
getJsonMatchMakingResultById(String id)
TODOfi.tut.mei.matchmaking.model.xml.msg.SaveMatchesResp
getMatchMakingResultSelectedCombinations(javax.ws.rs.core.HttpHeaders httpHeaders, String id, fi.tut.mei.matchmaking.model.xml.msg.SaveMatchmakingResultReq saveRequest)
TODOfi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult
getXmlMatchMakingResult(fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResultReq resultReq)
TODOfi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult
getXmlMatchMakingResultById(String id)
TODO
-
-
-
Method Detail
-
getJsonMatchMakingResult
@POST @Consumes("application/xml") @Produces("application/json") public fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult getJsonMatchMakingResult(fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResultReq resultReq)
TODO- Parameters:
resultReq
-- Returns:
-
getXmlMatchMakingResult
@POST @Consumes("application/xml") @Produces("application/xml") public fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult getXmlMatchMakingResult(fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResultReq resultReq)
TODO- Parameters:
resultReq
-- Returns:
-
getJsonMatchMakingResultById
@GET @Path("/{id}") @Produces("application/json") public fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult getJsonMatchMakingResultById(@PathParam("id") String id)
TODO- Parameters:
id
-- Returns:
-
getXmlMatchMakingResultById
@GET @Path("/{id}") @Consumes("application/xml") @Produces("application/xml") public fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult getXmlMatchMakingResultById(@PathParam("id") String id)
TODO- Parameters:
id
-- Returns:
-
getMatchMakingResultSelectedCombinations
@POST @Path("/{id}/save-combinations/") @Consumes({"application/xml","application/json"}) @Produces({"application/xml","application/json"}) public fi.tut.mei.matchmaking.model.xml.msg.SaveMatchesResp getMatchMakingResultSelectedCombinations(@Context javax.ws.rs.core.HttpHeaders httpHeaders, @PathParam("id") String id, fi.tut.mei.matchmaking.model.xml.msg.SaveMatchmakingResultReq saveRequest)
TODO- Parameters:
httpHeaders
-id
-saveRequest
-- Returns:
-
-