Minor update, but still stuck.  I can see that when 
org.restlet.ext.net.jar.HttpClientHelper is constructed, it's in the context of 
org.restlet.engine.Engine's construction.

It adds the necessary protocols (HTTP, HTTPS) to the List<Protocol> held by its 
ConnectorHelper superclass, and the HttpClientHelper instance gets added to the 
list of "helpers" stored by the Engine's registeredClients field.

I see that my problem is arising because the ConnectorService stored in my 
Application's services member is the one put there by its constructor, which is 
a dummy one containing no protocols.  So it seems like somewhere along the 
line, somebody needs to call Application.setConnectorService(). 

I might be getting closer, but I'm still not seeing how the list of protocols 
stored in the HttpClientHelper gets passed along to the Application's 
ConnectorService.

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

Reply via email to