Interface EmployeeAgent


@EndPoint @Path("/api") public interface EmployeeAgent
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.json.JsonObject
    add(io.vertx.core.json.JsonObject params)
     
    io.vertx.core.json.JsonObject
     
    io.vertx.core.json.JsonObject
     
    io.vertx.core.json.JsonObject
    update(String key, io.vertx.core.json.JsonObject params)
     
  • Method Details

    • fetchEmployee

      @GET @Path("employee/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0395\u03c0\u03b9\u03c7\u03b5\u03af\u03c1\u03b7\u03c3\u03b7/E-EMPLOYEE/BY-ID") io.vertx.core.json.JsonObject fetchEmployee(@PathParam("key") String key)
    • add

      @POST @Path("employee") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0395\u03c0\u03b9\u03c7\u03b5\u03af\u03c1\u03b7\u03c3\u03b7/E-EMPLOYEE/ADD") io.vertx.core.json.JsonObject add(@BodyParam io.vertx.core.json.JsonObject params)
    • update

      @PUT @Path("employee/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0395\u03c0\u03b9\u03c7\u03b5\u03af\u03c1\u03b7\u03c3\u03b7/E-EMPLOYEE/EDIT") io.vertx.core.json.JsonObject update(@PathParam("key") String key, @BodyParam io.vertx.core.json.JsonObject params)
    • remove

      @DELETE @Path("employee/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0395\u03c0\u03b9\u03c7\u03b5\u03af\u03c1\u03b7\u03c3\u03b7/E-EMPLOYEE/DELETE") io.vertx.core.json.JsonObject remove(@PathParam("key") String key)