@Path(value="/grouping") @Produces(value="application/json") @RolesAllowed(value="") public class CustomGroupAPI extends Object
| Constructor and Description |
|---|
CustomGroupAPI() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get()
Returns the count of each group defined in web.xml.
|
javax.ws.rs.core.Response |
reset()
Resets the groupings.
|
@GET public javax.ws.rs.core.Response get()
Response with a Map with the counts.@POST @Path(value="/reset") public javax.ws.rs.core.Response reset()
Response with Response.Status.NO_CONTENT.Copyright © 2017. All rights reserved.