Class FileAgent


  • @EndPoint
    @Path("/api")
    public class FileAgent
    extends Object
    • Constructor Detail

      • FileAgent

        public FileAgent()
    • 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)