Hi Sam,
when handling a Request/Response pair in the context of a servlet
container, the outputStream of the response is the one of the
HttpServletResponse object.
In the case of the OutputRepresentation, any subclasses are required to
override the write(OutputStream) method, where the given
Ok, I have a related question. I've found out how to get to the
HttpServletResponse object and have passed that to the Blobstore API, where it
was successfully written to and committed. Is there an example of how to turn
that HttpServletResponse object into a Representation that can be
Hello Sam,
At this moment, nothing is available in the framework to get access to
the servlet's response which could help you to support the Blobstore API.
You can have a look at the code of the ServerServlet and Servlet Call
classes of the Servlet extension.
There is also an issue in order to
Thanks for the response, Thierry. I'll take a look at those classes and see
what I can come up with. Maybe I'll be able to pitch in on that issue if I get
something worked out in the next week or two.
Thanks,
Sam
--
I'm using Restlet with GAE, and the GAE Blobstore API requires a
HttpServletRequest object for uploading blobs and a HttpServletResponse object
for serving them. I found the static ServletCall#getRequest(Request) method to
get the HttpServletRequest object from a restlet Request object, but is
5 matches
Mail list logo