so this appears to work:
Map attributes = getRequestAttributes();
Form responseHeaders =
(Form) attributes.get("org.restlet.http.headers");
System.out.println(responseHeaders.getFirst("host"));
not sure if this is the correct way, but also does not help me getting
getLocalPort();
> Hello,
> i can not figure out how to get the localPort and server name from the Request
>
> In my resource i need to build a URI in my XML, but i need to get the
> localport and servername.
>
> from a normal servlet i just
> request.getServerName();
> request.getLocalPort();
>
> my server extends Application
>
> it appears that org.restlet.ext.servlet.ServerServlet
>
> just not sure how to get there from here.
>
> thanks
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2701416