Package ch.tocco.nice2.rest.client.impl
Class ClientResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.impl.ClientResource
- All Implemented Interfaces:
RestResource
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.
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBuildTimestamp
(long buildTimestamp) void
setClientActionPackages
(List<ClientActionPackageContribution> clientActionPackages) void
setMaxLimit
(long maxLimit) void
setRecaptchaClientKey
(String recaptchaClientKey) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
ClientResource
-
-
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
-
getActionPackages
@GET @Path("/actionPackages") @Produces("application/json") public ActionPackagesBean getActionPackages()
-