@Path(value="consumers")
public class ConsumerCompat616Resource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ConsumerService |
consumerService |
Constructor and Description |
---|
ConsumerCompat616Resource(ConsumerService consumerService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
put(OAuth1ConsumerEntity consumer,
javax.ws.rs.core.UriInfo info)
Saves a consumer.
|
private final ConsumerService consumerService
@Inject public ConsumerCompat616Resource(ConsumerService consumerService)
@PUT @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response put(OAuth1ConsumerEntity consumer, @Context javax.ws.rs.core.UriInfo info)
consumer
- consumerinfo
-