thanks Jerome, that was perfect!
I'm using the latest Version 2.0 Milestone 3 . ;-)
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2361226
http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : Marc Lerma [mailto:jxtam...@gmail.com]
Envoyé : mardi 9 juin 2009 15:54
À : discuss@restlet.tigris.org
Objet : RE: from the org.restlet.data.Request, get the HttpServletRequest
Hi Jerome,
I've just come across the same problem. I need to get the HttpServletRequest
from org.restlet.data.Request. I've been trying your code but it's not working
properly for me.
It fails here in the following sentence:
if (httpCall instanceof ServletCall)
It just won't enter the '
eveloper ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : blackh...@collab.net [mailto:blackh...@collab.net]
Envoye : lundi 2 fevrier 2009 12:12
A : discuss@restlet.tigris.org; Jerome Louvel
Objet : RE: from the org.restlet.d
Thanks Jerome for coming back so quickly.
The full name of the "request" variable that I pass to the getRequest() static
method is com.noelios.restlet.http.HttpRequest.
I've also attached the stack trace below for the NPE.
Christy.
java.lang.NullPointerException
at
com.vennetics.jbox.
oelios.com
-Message d'origine-
De : christy.r...@vennetics.com [mailto:christy.r...@vennetics.com]
Envoye : vendredi 30 janvier 2009 20:51
A : discuss@restlet.tigris.org; Jerome Louvel
Objet : RE: from the org.restlet.data.Request, get the HttpServletRequest
Hi Jerome, can you confirm tha
Hi Jerome, can you confirm that this works if your using
com.noelios.restlet.ext.spring.SpringServerServlet ?
When I call the following from the Resource init
final HttpServletRequest httpReq = ServletCall.getRequest(request);
I get a null response? If this is not appropriate can yo
- utility classes
- etc.
Best regards,
Jerome
_
De : Rob Heittman [mailto:[EMAIL PROTECTED]
Envoyé : mardi 10 juin 2008 14:16
À : discuss@restlet.tigris.org
Objet : Re: from the org.restlet.data.Request, get the HttpServletRequest
Not a bad idea. I'm wondering how we could na
Not a bad idea. I'm wondering how we could name it so as not to confuse
people about the servlet extension vs. the servlet wrapper. I had thought
of putting it the servlet extension because that is the only piece of
Restlet that already depends on the servlet API, but that might cause some
uninte
Hi Rob,
Rob Heittman wrote:
I think we need an RFE on that utility, and it should be a standard part
of the Servlet extension.
Very good points. Just a small comment: isn't the Servlet extension what
allows Restlets to be "wrapped" into a Servlet environment (I don't
actually use it)? I t
I think getParameter() and friends would have to work "normally" -- that is,
treating query-string parameters and form parameters the same -- which
raises one of the interesting questions and touches on an old question about
reusable Representations. The emulator would have to consume the entity t
Rob,
This utility will be very useful.
In the restlet, form data is treated separately. Will the form data be part
of the peudo HttpServletRequest?
Jennifer
On Wed, Jun 4, 2008 at 11:36 AM, Rob Heittman <[EMAIL PROTECTED]>
wrote:
>
> I think we need an RFE on that utility, and it should be a
I think we need an RFE on that utility, and it should be a standard part of
the Servlet extension. The fact that there are a couple of messy and or
labor intensive ways to do it won't satisfy the large development community
that is VERY COMMITTED to the Servlet API. I am thinking of folks like th
Hi Jennifer,
Jennifer J. Chen wrote:
Bruno,
Thank you for your response.
Currently I have two purchased systems communicating with each other
through custom software using a servlet and xml response. What I will
like to do is to turn this into web service client and service
architecture.
Bruno,
Thank you for your response.
Currently I have two purchased systems communicating with each other through
custom software using a servlet and xml response. What I will like to do is
to turn this into web service client and service architecture. I did not
write the software for the receiv
Bruno,
Thank you for your response.
Currently I have two purchased systems communicating with each other through
custom software using a servlet and xml response. What I will like to do is
to turn this into web service client and service architecture. I did not
write the software for the receiv
Hi,
Jennifer J. Chen wrote:
Hi All,
I am a newbie to restlets. Currently I have a restlet client
communicating with the restlet engine on another machine. On the server
side the code is basically an Application extending
**org.restlet.Application **which looks at the URI and forward it to
It's quite horrible, but you can do casts like this:
HttpServletRequest awful = ((ServletCall)((HttpRequest)
request).getHttpCall()).getRequest();
This will, of course, break your application unless it is running in a very
specific Restlet configuration, and is probably inviting forward
incompati
18 matches
Mail list logo