Class LocalesResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.core.impl.resources.LocalesResource
All Implemented Interfaces:
RestResource

@Path("/locales") public class LocalesResource extends AbstractRestResource
This resource provides all available locales. Resource is mapped to "/locales".
  • Constructor Details

    • LocalesResource

      public LocalesResource(L10N l10N)
  • Method Details

    • getLocales

      @GET @Produces("application/json") public LocalesBean getLocales()