On Mon, Dec 28, 2009 at 7:35 AM, Rob Heittman
rob.heitt...@solertium.com wrote:
I agree. I think that when the discussion starts to turn around which HTTP
verbs map best to the idiosyncracies of relational databases (like safe
transactional ID assignment for rows) it is a hint to try mapping
Hello,
I'm using Restlet 2.0 m3 to build a web service and I'd like to know if
there is some way to tackle this weird problem:
I want the numbers 1,2,3,4,... to appear on the browser, on every 2
seconds. (In fact I need to do something more complicated, but If you
give me some instructions on
I see the code checked in for the announced slf4j extension but don't see the
artifact posted?
http://maven.restlet.org/org/restlet/
Was that a slip or has the requisite waiting period not elapsed yet?
Thanks, guys!
-jeff
--
On Thu, Dec 24, 2009 at 6:35 AM, Sopasakis Pantelis ch...@mail.ntua.gr wrote:
Hello,
I'm using Restlet 2.0 m3 to build a web service and I'd like to know if
there is some way to tackle this weird problem:
I want the numbers 1,2,3,4,... to appear on the browser, on every 2
seconds. (In fact
Hi there,
This is an interesting use case, so I've entered a RFE:
Add ability to set entity headers without an entity
http://restlet.tigris.org/issues/show_bug.cgi?id=995
A workaround could be to issue a HEAD request after a 304 to obtain the
latest metadata, including the Expires header
Hi again,
No need to post twice the same question... See my reply in the previous
thread:
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=24332
93
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder
Hi Arjohn,
I've just renamed Context#verifier and Context#enroler to defaultVerifier
and defaultEnroler for clarity purpose. I've also updated the Javadocs of
ChallengeAuthenticator and Authenticator.
The purpose of those properties is to isolate from Restlet applications, the
way to verify the
FYI, I’ve added a reference to Brian’s post on this page:
“OSGi integration”
http://wiki.restlet.org/developers/172-restlet/124-restlet.html
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org/
http://www.restlet.org
Noelios Technologies ~
Hi all,
I need to support redirection for a resource but first return the
message You will be redirected to another page in 2 seconds..., so I
tried the following code...
@Override
protected Representation get(Variant variant) throws
ResourceException {
Thread thread = new Thread()
Hi Jeff,
The group IDs have changed in 2.0 due to the support for editions, here is
SLF4J in JSE edition:
http://maven.restlet.org/org/restlet/jse/org.restlet.ext.slf4j/
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder
Hi Kiwi,
See related RFE entered by Thierry:
Missing a way to configure the thread pool of the Netty and Grizzly
connectors
http://restlet.tigris.org/issues/show_bug.cgi?id=991
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~
you will be redirected in x seconds type pages are a javascript
thing unless you have kept a socket open.
On Sun, Dec 27, 2009 at 2:18 AM, Sopasakis Pantelis ch...@mail.ntua.gr wrote:
Hi all,
I need to support redirection for a resource but first return the
message You will be redirected to
ok thx !
regards,
kiwi
On Mon, Dec 28, 2009 at 8:00 PM, Jerome Louvel jerome.lou...@noelios.comwrote:
Hi Kiwi,
See related RFE entered by Thierry:
Missing a way to configure the thread pool of the Netty and Grizzly
connectors
http://restlet.tigris.org/issues/show_bug.cgi?id=991
Best
Yep, that was the problem. Thanks for the help, Thierry.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2433340
FYI, there is an existing RFE that I just updated:
Support bean binding and validation
http://restlet.tigris.org/issues/show_bug.cgi?id=713
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Hi Duong,
The reverse proxy approach is the most flexible as you remove the SOP
issues. See the architecture diagrams on this page:
http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/144-restlet/185-rest
let.html
However, it does require an extra request and adds some latency. So if you
can
Hi Pierre,
I've entered a RFE and added a comment with a potential design:
Support Blobstore Service
http://restlet.tigris.org/issues/show_bug.cgi?id=998
Feed-back welcome!
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~
Thanks, it would be great !
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2433395
Hi Karel,
Do you think it is a bug in Restlet extension for JAX-RS? If so, could you
enter a bug report and ideally suggest a patch?
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Hi Dustin,
The design goal is to strictly separate component level parameters from
application level ones. This is intentionally done via the
Context#createChildContext() method.
I do see how this can be unintuitive in your context, because you basically
expose only one application via the
Hi Ben,
We should fix that for 2.0 RC. Ive updated this related RFE:
Allow transmission of parameters from web.xml to applications
http://restlet.tigris.org/issues/show_bug.cgi?id=602
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org/
I'm not sure I understood the problem, but a reasonable solution would
be the following line:
router.attach(/{identifier}, SomeResource.class);
then inside your resource class you can handle these identifiers.
On Mon, 2009-12-28 at 11:49 +0100, Jerome Louvel wrote:
FYI, I’ve added a reference
How could I keep the socket open? Is there a way to do that from within
the Resource class? Unfortunately javascript and HTML redirection work
only with web browsers - such a practice would fail for curl clients...
On Mon, 2009-12-28 at 05:17 -0800, Ben R Vesco wrote:
you will be redirected in
I guess I'm not clear on your motivation for trying to accomplish this on the
server. The easy way to do a redirect to another page if you want the
original page to be displayed for a set period of time is to return html that
has a special meta tag in the head section. See
RFC 2616 :-) http://www.ietf.org/rfc/rfc2616.txt (2626 is the Y2K RFC)
Sopasakis -- as HTTP itself doesn't have a means of specifying a delay
before a redirect, you won't get consistent behavior across every HTTP
compliant client or library. Most user-agents will act immediately on an
HTTP
Sometimes I end up doing just that, but unless SomeResource.class is only
handling a trivial set of cases, eventually SomeResource.class starts
re-creating all the intelligence of Router and Route, which is not very
efficient.
Following the ideas in this post, we're writing up a little something
RFC 2616 :-) http://www.ietf.org/rfc/rfc2616.txt (2626 is the Y2K RFC)
Woops. Hm, next time I should probably copy/paste the link instead of
fat-fingering the name huh?
Rob is right about everything else here too, I should have made it more clear
that the meta-refresh trick is hardly
First of all, thanks for the replies! I know how to do that using HTML,
PHP, JSP, JS etc... My BIG question is... is there really some way to do
that using just HTTP? Something like an OutputStream *directly* to the
client! Is it possible to think of a response returned to a client as a
message
28 matches
Mail list logo