Constructor and Description |
---|
StatResResource() |
Modifier and Type | Method and Description |
---|---|
String |
getResult(StatRes stat)
Get a statistics result.
|
SizeInfoDto |
getSizeinfo(StatRes stat,
SizeInfoMethod method)
Experimental endpoint to estimate allocated size.
|
List<String> |
getUrls()
Urls of available resources.
|
@GET @Produces(value="application/json") public List<String> getUrls()
@GET @Produces(value="application/json") @Path(value="{stat}") public String getResult(@PathParam(value="stat") StatRes stat)
stat
- Result JSON to get@Beta @GET @Produces(value="application/json") @Path(value="{stat}/get-sizeinfo") public SizeInfoDto getSizeinfo(@PathParam(value="stat") StatRes stat, @QueryParam(value="method") SizeInfoMethod method)
stat
- Result JSON to getmethod
- Size info method to use.