Class GoogleDriveResource


  • @Path("/google-drive")
    public class GoogleDriveResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • GoogleDriveResource

        public GoogleDriveResource()
    • Method Detail

      • createFile

        @Path("/create")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response createFile​(String title)
                                             throws Exception
        Throws:
        Exception
      • readFile

        @Path("/read")
        @GET
        @Produces("text/plain")
        public javax.ws.rs.core.Response readFile​(@QueryParam("fileId")
                                                  String fileId)
      • deleteFile

        @Path("/delete")
        @DELETE
        public javax.ws.rs.core.Response deleteFile​(@QueryParam("fileId")
                                                    String fileId)