| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.json.JsonObject |
create(io.vertx.core.json.JsonObject data) |
Boolean |
delete(String key) |
io.vertx.core.json.JsonObject |
getById(String key)
modified by Hongwei at 2019/12/06 add get, create, update and delete methods for user domain.
|
io.vertx.core.json.JsonObject |
information() |
io.vertx.core.json.JsonObject |
logout() |
io.vertx.core.json.JsonObject |
password(io.vertx.core.json.JsonObject params) |
io.vertx.core.json.JsonObject |
profile(io.vertx.core.json.JsonObject params) |
io.vertx.core.json.JsonObject |
update(String key,
io.vertx.core.json.JsonObject data) |
@GET @Path(value="user") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-INFORMATION") io.vertx.core.json.JsonObject information()
@POST @Path(value="user/password") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PASSWORD") io.vertx.core.json.JsonObject password(@BodyParam io.vertx.core.json.JsonObject params)
@POST @Path(value="user/profile") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PROFILE") io.vertx.core.json.JsonObject profile(@BodyParam io.vertx.core.json.JsonObject params)
@POST @Path(value="user/logout") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/O-LOGOUT") io.vertx.core.json.JsonObject logout()
@GET @Path(value="/user/:key") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-USER/GET/ID") io.vertx.core.json.JsonObject getById(@PathParam(value="key") String key)
modified by Hongwei at 2019/12/06 add get, create, update and delete methods for user domain.
@POST @Path(value="/user") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-USER/ADD") io.vertx.core.json.JsonObject create(@BodyParam io.vertx.core.json.JsonObject data)
@PUT @Path(value="/user/:key") @Address(value="\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-PUT/USER/ID") io.vertx.core.json.JsonObject update(@PathParam(value="key") String key, @BodyParam io.vertx.core.json.JsonObject data)
Copyright © 2021. All rights reserved.