@Path(value="/users") public class Users extends Object
| Constructor and Description |
|---|
Users() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getUserEmail() |
javax.ws.rs.core.Response |
getUserUsername() |
javax.ws.rs.core.Response |
readCustomAttr(String attributeKey) |
javax.ws.rs.core.Response |
updateCustomAttr(String attributeKey,
String newValue) |
@GET
@Path(value="readCustomAttr/")
@Produces(value="text/plain")
public javax.ws.rs.core.Response readCustomAttr(@QueryParam(value="attribute")
String attributeKey)
@PUT
@Path(value="updateCustomAttr")
@Produces(value="text/plain")
public javax.ws.rs.core.Response updateCustomAttr(@FormParam(value="attribute")
String attributeKey,
@FormParam(value="value")
String newValue)
@GET @Path(value="getUserFullname") @Produces(value="text/plain") public javax.ws.rs.core.Response getUserUsername()
@GET @Path(value="getUserEmail") @Produces(value="text/plain") public javax.ws.rs.core.Response getUserEmail()
Copyright © 2016. All Rights Reserved.