Hi Mikkel,

> It seems that the ConnectorCall class has been removed from the API in the
> latest release (1.0-beta18)

Jérôme wants to provide call converters that make it possible to
convert a org.restlet.Call into the particular Call implementation but
this isn't done yet.

> What is then the new procedure for manipulating HTTP headers and obtaining the
> requestUri?

You can cast the Call to HttpServerRestletCall and then work with the
HttpCall interface.

  HttpCall httpCall = ((HttpServerRestletCall) call).getConnectorCall();

  ParameterList headers = httpCall.getRequestHeaders();


BTW: IMO com.noelios.restlet.connector.HttpCall should be moved into
org.restlet.connector to stay independent from the NRE.
  
Best regards,
Lars
-- 
http://www.semagia.com

Reply via email to