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
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
--
Yep, putting it in my Application class' constructor fixed it for me. Thanks.
Hello Sam,
Can you set the statusService at instantiation time?
Best regards,
Thierry Boileau
Please ignore the weird comments and code in the getRepresentation method
body. My brain was going a couple
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
Please ignore the weird comments and code in the getRepresentation method body.
My brain was going a couple different directions at the time I posted
originally, and I realize it doesn't make much sense now. My issue is just that
the method is never called.
Thanks,
Sam
I have a custom StatusService class, and the overridden
getRepresentation(Status, Request, Response) method is never getting invoked
when exceptions are thrown. I tried overriding
getStatus(Throwable,Request,Response) temporarily as a test, and it is called
and receives a valid Throwable.
I can't seem to get ChallengeAuthenticators to work in Restlet GAE m6 when I
have both public and protected resources.
I've created a custom class, MyAuthenticator, that extends
ChallengAuthenticator. Right now it simply overrides the authenticate(request,
response) method and returns true.
7 matches
Mail list logo