I can run JVM6. The issue seems to be J6/Tomcat calling Restlet (J5)
calling my resources J6. I can do 5/5/5 and 6/5/5, but not 6/5/6-as far as
I can tell.
Cliff Binstock
Coyote Reporting
_
From: Malcolm Sparks [mailto:malc...@congreve.com]
Sent: Thursday, April 02, 2009 11:15 AM
version errors loading the restlet application).
Thanks much,
Cliff Binstock
Coyote Reporting
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1497681
!). It appears that the
redirect is getting a POST (remember I'm inside of a POST), and not a GET.
How do I redirect, setLocation, etc. so that the next URL is a GET?
P.S., I tried ?method=get, but I suppose that's getting ignored because
I'm not in a GET.
Thanks much,
Cliff Binstock
Thank you!
Cliff Binstock
Coyote Reporting
_
From: Erik Beeson [mailto:erik.bee...@gmail.com]
Sent: Monday, March 16, 2009 4:09 PM
To: discuss@restlet.tigris.org
Subject: Re: POST redirect to GET
Go back and reread the HTTP spec.
In particular, read about 303 See Other
sounds like it should be a number
(e.g., indent 4 characters).
Cliff Binstock
Coyote Reporting
_
From: remidewi...@gmail.com [mailto:remidewi...@gmail.com] On Behalf Of Rémi
Dewitte
Sent: Friday, February 06, 2009 4:02 AM
To: discuss@restlet.tigris.org
Subject: Re: DOM formatting
like use case
might be a common desire.
My current use case is building a Document with Elements, but no Text nodes,
so the resultant XML is one unreadable line.
If there is an existing trivial way to do this, great. If not, consider
this a feature request.
Thanks!
Cliff Binstock
Another feature request:
It would be very nice to have a way to tell the FileRepresentation to set
the MediaType based on the magic type determination.
There is no way to return the right type based a java.io.File today, is
there?
Thanks again,
Cliff Binstock
Coyote Reporting
)) {
mtype = MediaType.TEXT_HTML;
}
So, the default (when reasonable) is to return XHTML. FF/Opera/etc. get the
XHTML content type; IE gets HTML.
Cliff Binstock
Coyote Reporting
-Original Message-
From: Simon Reinhardt [mailto:simon.reinha...@koeln.de]
Sent: Friday
will consider this, however, maybe I can (and should) make
it more consistent.
Thanks for the pointing these items out. I definitely will look at both the
MetadataService and the TunnelService to see if I can better use the
infrastructure.
Cliff Binstock
Coyote Reporting
_
From
route: +
uriPattern);
request.getAttributes().put(TEMPLATE_URI_PATTERN_ATTRIBUTE, uriPattern);
}
return result;
}
};
You can then get the value with request.getAttribute
Cliff Binstock
Coyote Reporting
, for example).
Cliff Binstock
Coyote Reporting
_
From: Taylor Cowan [mailto:taylor_co...@yahoo.com]
Sent: Tuesday, January 13, 2009 7:12 AM
To: discuss@restlet.tigris.org
Subject: media type adaptor
I'm new to restlets and would like some feedback from the community on some
, FF, Opera (and most
certainly all others) have different ideas.
Cliff Binstock
Coyote Reporting
_
From: Rob Heittman [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 6:48 PM
To: discuss@restlet.tigris.org
Subject: Re: REQUEST FireFox cache control
Hi Cliff,
Jerome
Another Restlet suggestion:
The Reference class should definitely have a #toURI method. It should
possibly also have a URI constructor.
Thanks,
Cliff
--
It appears that Firefox doesn't respect expiration date or cache-control
properly. I would like most/all of my routes to expire immediately (and
require a reload).
I'm guessing that Representation#setTransient sets the Cache-control:
no-cache for the return headers. However, according to
Jerome,
Inline ...
Thanks for the good feed-back on Directory.
1) Could you give more information/pointers? What do you want to transform
with XSLT, the directory listing?
Yes, the directory listing. While quite obtuse, in Tomcat there is a
built-in XML directory listing to which you can
that WebdavServlet is Apache
License--and not very big--it seems that you could easily support full
webdav out of the box.
Cliff Binstock
Coyote Reporting
I would like to modify the standard Directory to return something different
than the file when a file is encountered. For example, peruse a directory
structure (default behavior), but when you get to the bottom (an actual
file), then return a report based on that file, instead of the file itself.
be great to put in my own HTML representation anyway, with style,
logo, etc.
Cliff
_
From: Cliff Binstock [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2008 2:54 PM
To: discuss@restlet.tigris.org
Subject: Usurping Directory
I would like to modify the standard Directory
To all,
Wondering if anyone has any experience or great ideas:
I have a need to specify URLs (not the uri-pattern) when fetching Resources.
A simple degenerate case is this:
/urls/{url}
Where {url} points to some random place on the web. While I have thought of
a number of workarounds, I
I am using V1.1 RC2
Cliff Binstock
_
From: Thierry Boileau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 2:33 AM
To: discuss@restlet.tigris.org
Subject: Re: Router swallowing exceptions
Hello Cliff,
I get an Instantiation exception with a warning trace when
(), MediaType.TEXT_PLAIN);
final Response response = getResponse();
response.setStatus(Status.SUCCESS_OK);
return representation;
}
Cliff Binstock
Coyote Reporting
, error prone, and a maintenance annoyance. Even
today, all of the behavior-switching is taken care of by a single abstract
class.
Cliff Binstock
Coyote Reporting
_
From: Erik Beeson [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 3:23 PM
To: discuss@restlet.tigris.org
Subject
Thierry,
This works great, thank you very, very much! I now have fully dynamic
behaviors.
Can I suggest that you make this a standard attribute? Regardless, this
works for me.
Cliff Binstock
Coyote Reporting
_
From: Thierry Boileau [mailto:[EMAIL PROTECTED]
Sent: Tuesday
)
2) Get back the as-matched URI (e.g., /foo/myFoo/bar).
Note that #1 above (original URI Pattern), would enable a very flexible
default handler.
Cliff Binstock
Coyote Reporting
-Original Message-
From: Jerome Louvel [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2008 4:02 AM
John and Jérôme,
Thanks much, this is *exactly* what I need!
Cliff
-Original Message-
From: John D. Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2008 7:54 AM
To: discuss@restlet.tigris.org
Subject: Re: uriPattern exactness
On Friday 2008.10.17, at 04:01 ,
, but probably not ./barlksjfljj.xml.
Thanks.
Cliff Binstock
Coyote Reporting
_
From: Thierry Boileau [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2008 2:27 AM
To: discuss@restlet.tigris.org
Subject: Re: uriPattern exactness
Hi Cliff,
I'm sorry, but I think I miss your
P.S. What is worse (maybe very confusing) is that this might match too:
/foo/myFoo/bar/baz/bletch/fred.xml
Again, I would like to forcefully ensure that this doesn't end up matching.
Cliff Binstock
Coyote Reporting
_
From: Cliff Binstock [mailto:[EMAIL PROTECTED]
Sent
router.attach(). I was hoping to do some
fuzzy enforcement in a base Resource class.
Cliff Binstock
Coyote Reporting
-Original Message-
From: Aron Roberts [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2008 11:37 AM
To: discuss@restlet.tigris.org
Subject: RE: uriPattern exactness
/barlksjfljj.xml, I could
determine that /foos/myFoo/bar was the actual match.
Maybe I just missed an existing API call? :)
Thanks much in advance,
Cliff Binstock
29 matches
Mail list logo