> I have just fixed this issue in SVN 1.1 branch as well. Please try
> again when 1.1.7 is released or try to build locally meanwhile.
that's great Jerome. Will check out and build locally
>
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> No
Hi,
How do I enable persistent connections using Restlet? I've checked the
code, and I can't seem to find how to do it.
/Rickard
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2412383
Thanks Jerome for getting back to me. I ended doing something like
this and it seems to work for me
Client client = useHttps ? new Client(new Context(),
Protocol.HTTPS) :
new Client(new Context(), Protocol.HTTP);
HttpClientHelper helper = new HttpClient
Hi Michael,
ok, than you accessed the resource, but no entity is available in the
Response.
Now I've seen that you mixed the API of JAX-RS and annotation based
Restlet. For JAX-RS you shouldn't inherit from class ServerResource. And
you must use the @GET from JAX-RS, not the @Get from Restlet.
Ah, yes. Thanks for pointing me to that post, Ben. I've swapped my ext.spring
jar from the GAE with the one provided in the JEE version. I'll test it out
tonight to see if the Servlet class works inside GAE. If it does, perhaps we
should consider including it in the GAE distribution of Restl
Related to this issue?
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2411788
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2412204
I'm just testing locally for now (using the Google Eclipse plugin's Web-App.
My URI is http://localhost:8080/rest/test/hello. In the console, I get
back:
Oct 28, 2009 7:01:32 PM org.restlet.engine.http.HttpServerAdapter commit
WARNING: A response with an unavailable entity was returned. Ignoring
what URI do you called?
best regards
Stephan
Michael Mogley schrieb:
> I've followed the example in "First Steps" for GAE and can't seem to access
> the resource from the browser.
>
> I'm running:
> - latest snapshot build for gae (as of 10/25/09)
> - AppEngine 1.2.6
> - Eclipse 3.5
>
> I've
I should add that we are using 2.0 M3 and serving it up with JBOSS.
~ Andrew
--
View this message in context:
http://n2.nabble.com/Query-Parameters-for-Directory-Restlets-and-static-files-405-error-tp3906669p3907399.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
Hi. I'm attempting to set up a Spring-backed Restlet web application hosted in
the GAE. I'd like to make use of the RestletFrameworkServlet, which is
currently in the trunk of the svn:
http://restlet.tigris.org/source/browse/restlet/trunk/modules/org.restlet.ext.spring/src/org/restlet/ext/spri
Hi Jerome,
I was able to get it working using the HttpURLConnection extensions. Thanks
for the suggestion.
Mike P.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2412186
Hi,
I'm still learning REST, HTTP, and Restlets... so this may be a basic
question, but here goes...
My situation/problem space:
We have a javascript heavy client and I am trying to set up a way of testing
individual UI components, while reusing the same javascript includes (so
everyone knows i
Ok, thanks for the advice !
I should have thought about it !
Regards
Laurent Garrigues
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2412159
Hi there,
Thanks for the report. I've just fixed this NPE in SVN trunk.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : legege [mailto:leg...@legege.com]
E
Hi,
If the initial request doesn't contain the Authentification header, a
NullPointerException is raised.
java.lang.NullPointerException
at
org.restlet.ext.jaas.ChallengeCallbackHandler.handle(ChallengeCallbackHandler.java:101)
at
org.restlet.ext.jaas.ChallengeCallbackHandler.hand
Kalimera Sopasakis,
This is due to a bug in ServerResource in the conditional processing. Good
news: it was fixed in recent snapshots:
http://www.restlet.org/downloads/unstable
Could you try again and let us know?
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.r
Hi all,
I've just updated the wiki page to add this configuration hint:
http://wiki.restlet.org/docs_2.0/13-restlet/48-restlet/101-restlet.html
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Hi Rickard,
Very good points, the life cycle of Servlet wasn't correctly propagated. In
addition, we had a pending issue to propagate these events inside the Restlet
routing system (from a component to the contained applications for example).
"Make start/stop usage consistent"
http://restlet.ti
Vlatko,
Integration between Restlet and OSGi HTTPService isn't available by default.
I think it should work if you use the ServerServlet from
org.restlet.ext.servlet. If it does work, it would be nice to document it
properly (contribution opportunity!).
For more details on our plans for OSGi, see
Vlatko,
That would be great to compare the manifests generated by pax-wrap with the
one we have already (which are edited with the help of Eclipse IDE). Could
you share them with us?
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies
Hi Vlatko,
Regarding the Maven repository, the artifacts for 2.0 M4 and 2.0 M5 are
available but under a different groupID as we added support for several
editions. For example:
http://maven.restlet.org/org/restlet/jee/org.restlet/
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead develop
Thanks for your idea John!
I finally used this code and navigate through the document but don't know if
it's the most efficient way:
ByteArrayOutputStream buff = new ByteArrayOutputStream();
response.getEntity().write(buff);
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
Do
Hi Hannes,
In Restlet 1.1, the conditions are checked *after* the representation is
retrieved, because it needs the representations metadata in order to check
those conditions.
In Restlet 2.0, it is possible to just provide the metadata
(RepresentationInfo) so the conditions are checked before ac
Hi there,
We are definitely planning to upgrade this extension for 2.0 as indicated by
this issue:
"Improve OAuth extension"
http://restlet.tigris.org/issues/show_bug.cgi?id=606
We are welcoming contributions to help us with this extension, for migration
to ServerResource, update to the latest O
Hi Jim,
I have just fixed this issue in SVN 1.1 branch as well. Please try again when
1.1.7 is released or try to build locally meanwhile.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
---
Hi Evgeny,
I've just fixed the bug causing getHelper().getConnectTimeout() to always
return 0, in SVN trunk and 1.1 branch. Thanks for pointing to this bug!
Otherwise, in SVN trunk, the configuration parameters for the taken into
account when the request is actually handled, or at the earliest
Hi Troy,
Here is an example:
Client client = new Client(Protocol.HTTP);
client.setConnectTimeout(5000);
client.get(...);
After checking the code again, I realized that the internal HTTP client was not
taking properly into account this property. This is fixed in Restlet 1
Hi all,
In addition, if you are looking for authentication and authorization, you
should look at the new security API in Restlet 2.0. See the
org.restlet.security package and this wiki page for more details:
http://wiki.restlet.org/developers/172-restlet/212-restlet.html
Best regards,
Jero
28 matches
Mail list logo