public interface ClientsResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(ClientRepresentation clientRepresentation) |
List<ClientRepresentation> |
findAll() |
List<ClientRepresentation> |
findAll(boolean viewableOnly) |
List<ClientRepresentation> |
findByClientId(String clientId) |
ClientResource |
get(String id) |
@Path(value="{id}") ClientResource get(@PathParam(value="id") String id)
@POST @Consumes(value="application/json") javax.ws.rs.core.Response create(ClientRepresentation clientRepresentation)
@GET @Produces(value="application/json") List<ClientRepresentation> findAll()
@GET @Produces(value="application/json") List<ClientRepresentation> findAll(@QueryParam(value="viewableOnly") boolean viewableOnly)
@GET @Produces(value="application/json") List<ClientRepresentation> findByClientId(@QueryParam(value="clientId") String clientId)
Copyright © 2018 JBoss by Red Hat. All rights reserved.