Have a look to the StatusService, it provides a way to translate an
exception into a status code and it also allows you to generate a custom
representation.
The status service is available on your application instance.
HTH,
S.
On Thu, Apr 30, 2009 at 6:10 PM, Fabian Mandelbaum
Hello Soonho,
by default StringRepresentation are built using the ISO_8859_1 character
set.
Did you try the following constructor:
StringRepresentation(CharSequence, MediaType, Language, CharacterSet)?
best regards,
Thierry Boileau
Dear all;
How are you? I am a beginer for restlet. I
Hello Mikis,
could you provide some sample code?
I send you mine which works well with the org.restlet.jar of the 1.2M2
release (no other dependency in the classpath).
best regards,
Thierry Boileau
Hi
I'm try to create a DomRepresentation with the new
DomRepresentation(MediaType)
Thanks! I guess this still holds true for Restlet 1.2.x, right?
On Mon, May 4, 2009 at 8:41 AM, Thierry Boileau
thierry.boil...@noelios.com wrote:
Hello Fabian,
your approach looks fine to me.
best regards,
Thierry Boileau
Hello there, I'm starting to learn and use Restlets (1.1.x) and I
My bad,
I did not read carefully the docs. My problem is that I do not pass any
Enroller instance to the application.
Gabi
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2055713
Hi all,
I've just started working with the restlet framework, so please excuse me if
I'm overlooking something. In Restlet 1.1.4 the Series class offers various
utility methods for getting parameter values, often with a variant allowing you
to control the case-sensitivity. This variant is
OK. Thank you both for your answers!
On Mon, May 4, 2009 at 11:54 AM, Thierry Boileau
thierry.boil...@noelios.com wrote:
Hello Fabian,
the 1.2 release introduces the ServerResource class (and deprecates the
Resource class).
All your initialization code should be located in the doInit method
7 matches
Mail list logo