Subclass Redirector, overriding getTargetRef(Request, Response) to return a Reference that you determine dynamically from the request and response parameters.
--tim On Mon, Apr 15, 2013 at 10:06 PM, Grant <gsing...@apache.org> wrote: > I have a front end API which I want to use to proxy/redirect requests to a > backend service. Up until now, I've been binding the APIs using the {rr} > technique described in the documentation, but the main issue I have is that > I am binding to the backend service's host/port at startup (in > createInboundRoot) and I want to be able to dynamically set the host/port > of the backend service at request time, as it is possible the service may > be down or I want to load balance it. > > I'm on Restlet 2.1.5-RC1. > > Thanks, > Grant > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053410 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053448