Class Country


  • @Path("/country")
    @Produces("application/json")
    public class Country
    extends java.lang.Object
    Sub-resource root for country endpoints; delegates team lookups to the Team sub-resource.
    • Constructor Detail

      • Country

        public Country()
      • Country

        public Country​(java.lang.String name,
                       java.lang.String id)
    • Method Detail

      • getCountryTeam

        @Path("/{countryId}/team")
        public Team getCountryTeam​(@PathParam("countryId")
                                   java.lang.String countryId)
      • getDefaultCountry

        @GET
        @Path("")
        public Country getDefaultCountry()
      • getCountryId

        @GET
        @Path("/{countryId}")
        public Country getCountryId​(@PathParam("countryId")
                                    java.lang.String countryId)