Package cn.vertxup.crud.api
Class FileAgent
- java.lang.Object
-
- cn.vertxup.crud.api.FileAgent
-
-
Constructor Summary
Constructors Constructor Description FileAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.json.JsonObjectexportFile(String actor, io.vertx.core.json.JsonObject condition, String module, io.vertx.up.atom.secure.Vis view)io.vertx.core.json.JsonObjectimportFile(String actor, String module, io.vertx.ext.web.FileUpload fileUpload, String type)
-
-
-
Method Detail
-
importFile
@Path("/{actor}/import") @POST @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-FILE/IMPORT") @Adjust(10000000) public io.vertx.core.json.JsonObject importFile(@PathParam("actor") String actor, @QueryParam("module") String module, @StreamParam @Codex io.vertx.ext.web.FileUpload fileUpload, @QueryParam("type") String type)
-
exportFile
@Path("/{actor}/export") @POST @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-FILE/EXPORT") @Adjust(10000000) @Consumes("application/octet-stream") @Produces("application/octet-stream") public io.vertx.core.json.JsonObject exportFile(@PathParam("actor") String actor, @BodyParam io.vertx.core.json.JsonObject condition, @QueryParam("module") String module, @PointParam("view") io.vertx.up.atom.secure.Vis view)
-
-