Class ClientResource

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

@Path("/client") public class ClientResource extends AbstractRestResource
This resource is the entry point of the client API. It provides a list of links to resources, which are defined in the ClientItems contribution.
  • Constructor Details

  • Method Details

    • setClientActionPackages

      @Autowired(required=false) public void setClientActionPackages(List<ClientActionPackageContribution> clientActionPackages)
    • setRecaptchaClientKey

      @Value("${nice2.userbase.captcha.v2.client.key}") public void setRecaptchaClientKey(String recaptchaClientKey)
    • setBuildTimestamp

      @Value("${nice.buildTimestamp}") public void setBuildTimestamp(long buildTimestamp)
    • setMaxLimit

      @Value("${rest.paging.maxLimit}") public void setMaxLimit(long maxLimit)
    • getSettings

      @GET @Path("/settings") @Produces("application/json") public SettingsBean getSettings()
    • getActionPackages

      @GET @Path("/actionPackages") @Produces("application/json") public ActionPackagesBean getActionPackages()