Class MultiMatchResource

java.lang.Object
dev.getelements.elements.rest.matchmaking.MultiMatchResource

@Path("multi_match") public class MultiMatchResource extends Object
  • Constructor Details

    • MultiMatchResource

      public MultiMatchResource()
  • Method Details

    • getMatches

      @GET @Produces("application/json") public Pagination<MultiMatch> getMatches(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("search") String search)
    • getMatch

      @GET @Path("{matchId}") @Produces("application/json") public MultiMatch getMatch(@PathParam("matchId") String matchId)
    • createMatch

      @POST @Consumes("application/json") @Produces("application/json") public MultiMatch createMatch(MultiMatch match)
    • updateMatch

      @PUT @Path("{matchId}") @Consumes("application/json") @Produces("application/json") public MultiMatch updateMatch(@PathParam("matchId") String matchId, MultiMatch match)
    • deleteMatch

      @DELETE @Path("{matchId}") @Produces("application/json") public void deleteMatch(@PathParam("matchId") String matchId)
    • deleteAllMatches

      @DELETE @Produces("application/json") public void deleteAllMatches()
    • getMultiMatchService

      public MultiMatchService getMultiMatchService()
    • setMultiMatchService

      @Inject public void setMultiMatchService(MultiMatchService matchService)
    • getValidationHelper

      public ValidationHelper getValidationHelper()
    • setValidationHelper

      @Inject public void setValidationHelper(ValidationHelper validationHelper)