Lucy,
It also means that we could close up the FTP ports again!
AJ
A.J. Barnes, B.Sc., B.N.
Poisons Information Officer
National Poisons Centre / Te Pokapū Mātauranga Tāoke
Ph: +64 3 479 7250
Fax: +64 3 477 0509
===
CAUTION: This e-mail message may contain information that is confidential and
subject to privilege. It is intended solely for the addressee. If you are not
the intended recipient, you are notified that any use, distribution or copying
of this message or data is prohibited. If you received this e-mail in error,
please notify me immediately and delete all material pertaining to this e-mail.
Thank you.
From: Jerome Louvel [mailto:jerome.lou...@noelios.com]
Sent: Wednesday, 15 September 2010 20:34
To: discuss@restlet.tigris.org
Cc: araic...@gmail.com
Subject: RE: Mention proxy in tutorial
Hi Alejandro,
The org.restlet.ext.net connector only allows a system wide proxy setting.
In other case, you can use several instances of the Apache HTTP Client or of
the internal HTTP client and configure their “proxyHost” and “proxyPort”
parameters:
http://www.restlet.org/documentation/2.0/jse/engine/org/restlet/engine/http/connector/BaseClientHelper.html
http://www.restlet.org/documentation/snapshot/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html
Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
http://www.restlet.org/
Noelios Technologies ~ http://www.noelios.com http://www.noelios.com/
De : Alejandro Raiczyk [mailto:araic...@gmail.com]
Envoyé : mercredi 7 juillet 2010 06:02
À : discuss@restlet.tigris.org
Objet : Re: Mention proxy in tutorial
What about proxy authentication?
The only way to setup a proxy is using system properties? Can't it be done
programatically? I know I could set the system properties programatically, but
what if I don't want other classes running in the same vm use the value of
those system properties?
2010/6/18 Jerome Louvel jerome.lou...@noelios.com
Hi John,
We are refactoring the documentation for Restlet Framework 2.0.0 release.
Here is the new table of contents:
http://www.restlet.org/documentation/2.0/
This user guide includes a First client example:
http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/320-restl
et.html
http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/320-restl%0Aet.html
It now contains a warning about running behind a HTTP proxy, which leads to
this page on the Net extension and the arguments to be passed on the
command line as you suggested:
http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/79-restlet.html
Hope this looks better.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com
-Message d'origine-
De: John Simmons [mailto:drjwsimm...@yahoo.com]
Envoy頺 vendredi 14 mai 2010 00:50
: discuss@restlet.tigris.org
Objet: Mention proxy in tutorial
I am just learning Restlet and trying the examples given in the tutorial. I
am working from behind a corporate firewall. I was not able to get the
first example Part02a to work until I discovered, by searching the source
code, that I needed to set two system properties by putting arguments like
this on the java command line:
-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=3128
To help new users, I suggest that the tutorial should mention this. It
would also be helpful to mention it in the javadoc, say for class
ClientResource.
Thanks,
John
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=26087
89
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2623461
--
Alejandro DamiᮠRaiczyk
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2660439