@restlet.tigris.org
Objet : Re: RIAP protocol and local Representions
We use a lot of RIAP but very little ConverterService ... that might change
if it worked more like you expect out of the box.
On Mon, Jan 25, 2010 at 2:17 PM, Valdis Rigdon valdis.rig...@gmail.com
wrote:
Is no one else using RIAP
Thierry,
Sounds like this isn't something that's (fully) supported out of the
box, which I'm a bit surprised by. Is no one else using RIAP in this
way? Or are people using RIAP and letting objects be serialized
locally? While this seems to work for me, I'm curious of other use
cases.
I'll go
I can't seem to phrase my question the way I want, so I'm giving some
background along with the question(s) and hopefully it make sense to someone.
I am designing an API around REST resources, using Restlet as the core. I'm
using the new annotation based client side interfaces, using
I'm still seeing these on the latest snapshots as well. As a workaround, I've
been using the GWT version bundled with the example serialization application
from the wiki, but using the snapshot versions for other editions. That seems
to work fine for me, at least in the short term.
Valdis
. If I remove those
libraries and replace them with latest snapshot from Jan 06, add in
the inherits for XML and JSON, then it breaks with the errors below.
Any ideas?
On Wed, Jan 6, 2010 at 2:02 PM, Valdis Rigdon valdis.rig...@gmail.com wrote:
I'm puttting together a sample project too, but I'm
I'm looking for a little help in trying to implement a solution with
Directory -- maybe someone on this list has done this before; I've tried
a number of ways but nothing seems to work quite right. Note that we
are using version 1.0.7, not 1.1.
My use case involves exposing the log4j logs
getIndexVariants() to add APPLICATION_ZIP in
addition to overriding getIndexRepresentation()?
Kevin
On Jan 14, 2008 8:34 AM, Valdis Rigdon [EMAIL PROTECTED] wrote:
I'm looking for a little help in trying to implement a solution with
Directory -- maybe someone on this list has done this before
next step.
Is isListingAllowed() true on your Directory instance?
Yep.
On Jan 14, 2008 9:46 AM, Valdis Rigdon [EMAIL PROTECTED] wrote:
Yep, I've tried that. In walking through the code via a debugger, I see
my APPLICATION_ZIP representation being built, but it's not the
representation being
that its tough to read through without valid
data.
No, I haven't debugged through that yet -- that was my next step.
Is isListingAllowed() true on your Directory instance?
Yep.
On Jan 14, 2008 9:46 AM, Valdis Rigdon [EMAIL PROTECTED] wrote:
Yep, I've tried
Is there a way to wire up Restlet and Jetty without using the
ServletHandler? We are currently using the ServletHandler and have the
Restlets deployed as a separate web application within Jetty, which
works, but I was hoping to find an implementation of a Jetty Handler
which I can wire up
Adam Taft wrote:
Ultimately, no matter how we get there, Resource needs to be a
stateless in order to work well with Ioc.
Having used Spring and Restlet together on my current project I
disagree. I can't speak for other IoC frameworks, but Spring provides
multiple way to inject other beans
I ended up with a similar issue and used Router.LAST, putting the more
generic URIs first, and the most specific ones last. (ie, /user/{id}
first, then /user/list later).
In the end though, I ended up moving to /user/{id} and /users as Adam
suggests. It's definitely made our client
From someone who is currently moving from Ant build scripts to Maven2,
having the jars and dependencies in ibiblio would be a better solution.
Valdis
I'll (strongly) second these sentiments.
--Chuck
From: Mark Reynolds [mailto:[EMAIL PROTECTED]
Sent:
Extend Guard, and override checkSecret() to delegate to Acegi. (I
believe you'll have to grab the very latest for this -- if you are using
RC4, it's a bit more work). For my application I have a singleton
AcegiGuard bean and attached that to the Router to protect Resources.
John Sherwood
I'd recommend upgrading to the latest release, which is I believe is
RC4. That has the included patch. If that doesn't work, posting code
would help.
shlok wrote:
Valdis Rigdon vrigdon at ekosystems.com writes:
This is is a patch for a simple refactor of ServerServlet, breaking up
I've found 2 approaches that work, and there are possibly more.
1. Use @Configurable on your Resource classes, and use Spring AOP to
inject dependencies. Search the message archives for more details on this.
2. If you don't like having the dependency on AspectJ, you can extend
I've attached a simple patch for org.restlet.Guard which breaks out the
checking of identifier.equals(secret) to a separate method. We use
Acegi Security and this lets me simply delegate the username/password
check to the ProviderManager without having to override authenticate()
completely.
Any name is fine with me. For reference, I'm delegating to
doAuthentication() in the Acegi framework.
Thierry Boileau wrote:
Wow!
Thank you very much Valdis! Do you mind if the delegate method is
renamed to checkSecret?
Best regards,
Thierry Boileau
I've attached a simple patch for
Hello...
I just recently found this project and after evaluating decided to use
it for a project that I am starting. Great project, I am very impressed
so far. I am planning to run Restlet inside Jetty and Spring.
Based on the Spring example for configuring all the restlets and URIs in
the
I've just started looking at the Restlets project, since RC1, and I
can't seem to get a simple example working. It looks like it was broken
in RC1 with changeset 1267 regarding quoting of regex characters in
Template. I basically copy and pasted the 'trace' example from the
tutorial, but
This is is a patch for a simple refactor of ServerServlet, breaking up
getServer() into three methods -- (1) the original getServer(), (2) one
to create the HttpServerHelper, and (3) one to create the Application.
No functionality has been changed; in my application I need to override
the
21 matches
Mail list logo