Hi Aron,
Thierry has just deployed a new version of our Web site based on Restlet
2.0. The trailing slashes are now correctly displayed for our Maven
repository!
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http
Hi Jerome,
The Directory class now seems fixed, and well in negotiated mode.
However... the SVN version breaks negotiated mode for all the rest of my
ServerResources. Unless I explicitly setNegotiated(false) for them, they
all return error 406 for every GET.
-Tal
Jerome Louvel wrote:
> H
I can't imagine how the framework would be able to figure that out on its
own without being able to examine the Representation ... chicken, egg,
chicken, egg.
Still, I understand the concern if Representations are expensive to
generate. I wonder if the conditional logic fetches the entity body if
Cool,
This works as you indicate. However implementing this way has a downside. Would
be nice that the framework could take care of sending a 304 even without having
to get a concrete Representation which has a date set.
The idea is to avoid creating a Representation if the Resource has not cha
Underway, target 2.0M5: Add Encoder Service (Similar to Decoder Service)
http://restlet.tigris.org/issues/show_bug.cgi?id=208
I'm glad this one is somebody else's job! Not easy to get right.
On Wed, Jun 10, 2009 at 12:47 PM, Sherif Ahmed wrote:
> Now does Restlet has a framework to take care of
Brilliant..
The more I use Restlet the more I am liking it indeed.
Now does Restlet has a framework to take care of Gzip encoding results when the
Request headers indicate that the request is from a client that supports this
encoding (all modern browsers do)
> I've been trying to add Last-Modif
Status code 303 (Status.REDIRECT_SEE_OTHER in Restlet) exists for the
POST/Redirect/GET case. I'm not sure there's any "right" way vis a vis
returning an entity directly from a POST -- certainly that's useful too in
straightforward cases. P/R/G is really helpful when the result is more
complex an
I assume the POST/Redirect/GET pattern is the Client POSTing to the
Resource, and instead of filling the Response's Entity with the
Representation of the change, one simply redirects the Client to the GET
representation. Is this the desired behaviour? I was under the
impression that populatin
Restlet provides the 304 plumbing for you. Just setModificationDate() on
your Resource's returned Representation as Jon suggests. The GET headers
returned from my Web site which calls this function are below. If you hit
this resource with Firefox and watch it with Firebug as you refresh (which
d
Thanks Jon.
What I am trying to accomplish is implementing the Last-Modified /
If-Modified-Since logic. Where I would tag responses with a uniform
"Last-Modified" header for all resources/representations and when a request
comes in with a "If-Modified-Since" header I'd send appropriate HTTP 304
Hi Wish,
What is your ServletContainer? There is a known bug with WebLogic regarding
port 80:
"Locating REST resources on Port 80, Receive 404"
http://restlet.tigris.org/issues/show_bug.cgi?id=710
We have very recently checked in a workaround in SVN trunk for this. Could
you try again with a rec
Hi Marc,
This code is fairly recent compared to the rest of the framework, so it is a
warning to be stay cool in your expectations. Next M4 milestone should be
more stable on this front.
But you can definitely use @Post today, just try to update to recent 2.0
snapshots if you encounter issues, o
Hi Tal,
This should now be fixed in SVN trunk. Could you confirm?
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 : Tal Liron [mailto:tal.li...@threecrickets.co
Hi there,
I would really recommend to post to Atomojo list first. From what I see,
Alex Milowski has been replying to all messages so far:
http://groups.google.com/group/atomojo-users
Restlet has its own Atom extension that fully supports AtomPub format, but
it isn't a full AtomPub back-end at al
Hi Andrew,
This is probably a web.xml configuration issue. Have you tried running your
application in standalone mode (outside a Servlet container)?
If you could send us your web.xml that would help us debug this issue.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http:/
Hi Tim,
We indeed have a serious issue with this wiki (not accessible right now). It
runs on the same machine as the Restlet.org site (which runs fine) so it must
be an issue with this specific HTTP server (Daisy+Jetty) instead of a
network/machine issue. I’ve entered an internal ticket for
Serge,
The init(Context, Request, Response) is automatically called by the Finder
class. In the case of SpringFinder, it didn't worked properly until the
changes from today in SVN trunk.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technolog
Hi Jason,
The Spring extension wasn't supporting the new resource API (ServerResource)
in 2.0 M3. I have just fixed this today, so I suggest that you try again
when a new 2.0 snapshot is pushed. Note that the lookup method will be
create() instead of createResource() which was for the now deprecat
Hi Marc,
Could you try the static ServletCall#getRequest(Request request):
HttpServletRequest?
If it doesn't work, then something change in the code during Restlet 2.0
refactoring. Which version are you using BTW?
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.re
Hi Tad,
The Restlet API doesn't impose any persistence API. In general, people
choose the one that best suits their needs/skills/context such as JPA, JDO,
Hibernate, db4o, etc. All work equally well with Restlet.
I guess at some point we could try to provide a Restlet Connector for GAE
datastore
Hi Thomas,
I would use another representation, or even another resource unless they do
represent the same state.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
D
Hi Ivan,
Our OAuth extension is currently lacking user documentation. We are looking
for help on this front (hint!):
"OAuth extension"
http://wiki.restlet.org/docs_1.2/13-restlet/28-restlet/80-restlet.html
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.o
Hi all -
I am using Restlet 1.2-M2 and I have some troubles. Let me describe briefly:
The problem that happens with me occurs because the
org.restlet.representation.InputRepresentation class makes a reference to the
org.apache.catalina.connector.CoyoteInputStream, which Tomcat uses, and on
fin
Hi all -
I am using Restlet 1.2-M2 and I have some troubles. Let me describe briefly:
The problem that happens with me occurs because the org.restlet.represen
tation.InputRepresentation class makes a reference to the
org.apache.catalina.connector.CoyoteInputStream, which Tomcat uses, and on
fi
Hello
I'm looking for a solution to run an Atom Pub Server preferably within Restlet,
but it might also be standalone. Implementing all resources and handling seems
to be overkill, isn't there something already available.
I tried atomojo but I simply can't get it running, or let's say I can't l
Hi Denys,
This is produced by the LogService. It is similar to regular Web servers
logging except that it goes in the console by default. To customize logging
level and output formats, check:
http://wiki.restlet.org/docs_1.2/13-restlet/48-restlet/101-restlet.html
You can also turn it off altogeth
Hi Sherif,
For custom headers whatever name you give, "entity.modificationDate",
will be used.
However, what you probably meant to do is use setModificationDate(new
Date()) on the entity/response representation. ie.
representation.setModificationDate(new Date());
Jon
Sherif Ahmed wrote:
>
I've been trying to add Last-Modified Header via the following code in a Filter
afterHandle method
Form responseHeaders = (Form)
response.getAttributes().get("org.restlet.http.headers");
if (responseHeaders == null)
{
responseHeaders = new Form();
r
Hi Serge,
Thanks for reporting this regression. This was a bug in ServerResource
regarding conditional methods. This is now fixed in SVN trunk.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
29 matches
Mail list logo