Hi Pascal, You could access the underlying HttpServletRequest object in Play using: Http.Request.current().args.get(ServletWrapper.SERVLET_REQ)
You should be able to call getUploadedBlobs on it. Hope that helps. On Mon, Oct 3, 2011 at 8:23 AM, Pascal Voitot Dev < [email protected]> wrote: > Not any suggestion here? > > thanks > Pascal > > > On Thu, Sep 29, 2011 at 11:26 AM, Pascal Voitot Dev < > [email protected]> wrote: > >> Hi, >> I'm using Play Framework to build apps on GAE and as you may know, Play is >> not Servlet based. So no HttpServletRequest... >> In the blobstore case, we have a problem to retrieve the blobkey after >> uploading the file. >> So upload works perfectly from the url returned by : >> blobstoreService.createUploadUrl("/upload") >> >> Google stores the blob and then calls back the "/upload" handler of my app >> but I can't find the blobkey in the header and I can't use the : >> >> Map<String, BlobKey> blobs = blobstoreService.getUploadedBlobs(req); >> >> >> >> >> which requires the HttpServletRequest I don't have in Play! >> >> Any other solution to retrieve the blob key of the uploaded file? (I read >> the experimental paragraph at the end of the doc but I wonder if there is a >> simpler way to do it) >> >> >> >> >> Thanks >> Pascal >> >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
