@Path(value="2/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 inputJsonObj) |
@GET
@Path(value="get-custom-attribute/")
@Produces(value="application/json")
public javax.ws.rs.core.Response readCustomAttr(@QueryParam(value="attribute") @NotNull(message="attribute name is missing")
String attributeKey)
throws javax.validation.ValidationException
javax.validation.ValidationException@PUT
@Path(value="update-custom-attribute")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response updateCustomAttr(@NotNull(message="input is missing")
String inputJsonObj)
throws javax.validation.ValidationException
javax.validation.ValidationException@GET @Path(value="get-fullname") @Produces(value="application/json") public javax.ws.rs.core.Response getUserUsername()
@GET @Path(value="get-email") @Produces(value="application/json") public javax.ws.rs.core.Response getUserEmail()
Copyright © 2016. All Rights Reserved.