>From a previous discussion (link below), I note that
com.noelios.restlet.util.SecurityUtils compensates for a JDK bug by setting
content-type to "application/x-www-form-urlencoded" when the java version is
less than 1.5.10.
Unfortunately, the patch number does not apply to Apple's JVM. I'm runni
Toby,
I've entered an RFE to cover this requirement:
"Improve SSL support"
http://restlet.tigris.org/issues/show_bug.cgi?id=281
This will not be added to version 1.0 which is too close to be released,
more likely in version 1.1. So, just forget about it... for now :)
Best regards,
Jerome
>
Thierry,
Thanks -- I knew I was missing something simple :-)
Best,
Jeff
On 4/4/07, Thierry Boileau <[EMAIL PROTECTED]> wrote:
Hello Jeff,
your application has been instantiated with its parent context, i.e the
one of the component.
You should proceed like this
component.getDefaul
Hello Jeff,
your application has been instantiated with its parent context, i.e the
one of the component.
You should proceed like this
component.getDefaultHost().attach("", new
TestApplication(component.getContext()));
Best regards,
Thierry Boileau
Hey All,
I'm trying simply to
Hey All,
I'm trying simply to access some files in a directory and am getting a NPE
in the ApplicationDispatcher.handle method.
Here's my example:
TestLauncher.java
import org.restlet.Component ;
import org.restlet.data.Protocol;
public class TestLauncher {
public static void main(String[
Hi,
Actually there is a proper way to do what you want. The javadocs of the
client helper extension [1] provides a list of properties that can be
set following this way :
client.getContext().getParameters().add(, );
We agree to say that the information is not easy to find. We will find a
way
Hi,
Is there a way to set connection timeout or read timeout parameters
to our Client ?
As i investigated release notes set/get timeout methods removed from
org.restlet.Client class since RC-4. I know we can set this attributes in
com.noelious.restlet.ext.httpclient.HttpClientH
On 4-Apr-07, at 4:16 AM, Jerome Louvel wrote:
Hi Toby,
Do you want to get an instance of javax.net.ssl.SSLSession? This
seems to
contain quite useful info. But I also see that you can use
getSessionContext() to gain access to other sessions... May this be a
confidentiality issue?
What are
Hello Özgün,
your remark has been taken into account in the SVN repository.
Thanks for this report.
A new "toString" method allows to use a decoding character set.
It means that when calling the "getText" method on a representation, the
latter provides its own character set. If null, a default
Hi,
I would like to set the following HTTP headers in the response:
Cache-Control: no-cache
Pragma: no-cache
Expires: 0
I can't set this directly as Restlet prevents me from setting standard HTTP
headers. I've read the FAQ and the documentation and I understand that instead
of trying to set sta
Hi Ozgun,
Excellent point. This is clearly a bug that we will fix by using an
InputStreamReader instead of a raw InputStream. We will also add the
character set of the parent representation as a parameter of this toString()
method.
Best regards,
Jerome
> -Message d'origine-
> De : Ata
Hi,
i am using getText() method of my Representations to use their content directly
as a String object. But i have problems with special characters encoding .
Might there be a bug inside ByteUtils.toString(InputStream inputStream) method ?
StringBuilder sb = new StringBuilder();
In
Hello Ai Li,
I tried the war sample [1] available on the faq page [2] and it succeed
with no error.
It may come from your Tomcat configuration, did you try to launch a
sample servlet with Tomcat?
Please follow this link [3] and particularly this one [4].
Best regards,
Thierry Boileau
[1]
htt
Hi Alex,
No problem, the "getValues(String name)" method is case insensitive. There
is also getValues(String, String, boolean) method which lets you control the
case sensitivity.
Best regards,
Jerome
> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
> pa
Hi Toby,
Do you want to get an instance of javax.net.ssl.SSLSession? This seems to
contain quite useful info. But I also see that you can use
getSessionContext() to gain access to other sessions... May this be a
confidentiality issue?
What are the SSL session properties that you are actually int
15 matches
Mail list logo