Let's say I have a Restlet app that has two different server connectors, 
say HTTP and HTTPS, on different ports.

For example, say the code looks like:
final Component comp = new Component();
comp.getServers().add(Protocol.HTTP, 3000);
comp.getServers().add(Protocol.HTTPS, 3001);

I want some of the URIs in a non-secured representation on port 3000 to 
refer to secured resources on port 3001.  Similarly, from within secured 
resources, I'd like to be able to refer to non-secure URIs.  How can I 
specify which connector is supposed to handle a particular request?  Do I 
need to use a fully-qualified URI, including the port number?

Thanks!

--------------------------------
John Wismar
john.wis...@autozone.com

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1258024

Reply via email to