Hello Daniel,
>apparently PUT updates an existing item if found
yes, and it creates it if not found. One important condition is that you
know (by advance, if the resource does not exist yet) the resource's
identifier (its URI).
POST is a more generalist operation that allows the target resourc
Hello Rashik,
no problems.
bye,
Thierry
> hi Thierry
>
>Sorry for late reply for ur post.Actually i have found the reason for
> the behaviour.The problem was in my code in matlab.Im really sorry for taking
> up ur time but without ur help i would not have found the problem in side
> m
hello everyone,
I'm a new user working through the Restlet tutorials (Restlet 2.0m7,
java 1.6, running standalone (no servlet container) from eclipse). So
far I'm enjoying using Restlet, which seems very straightforward,
especially compared to other java web technologies.
From the firstResour
Hi Stephan,
the use of SSL ID is required in the project I am working on. But as you said,
REST might be not the right choice for the implementation then.
thanks for your reply
Stefan
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=44
hi Thierry
Sorry for late reply for ur post.Actually i have found the reason for the
behaviour.The problem was in my code in matlab.Im really sorry for taking up ur
time but without ur help i would not have found the problem in side matlab
code.Im really thankful for your support.(i gues
True.
So, I guess the only way to remove "turn off" routes/restlets is to detach
them?
On Wed, Feb 24, 2010 at 2:33 PM, Stephan Koops wrote:
> Hi Tal,
>
> you could do some initialization and finalization work in your own
> Restlets.
>
> best regards
> Stephan
>
> Tal Liron schrieb:
> > This
Hi,
It currently isn't possible to retrieve the SSL session ID (in the same
way as it's possible to retrieve the cipher suite or the client
certificates from the Restlet Request.
It could make sense to implement this, and I wouldn't mind contributing
a patch to do so. Feel free to put an RFE in
Hi Tal,
you could do some initialization and finalization work in your own Restlets.
best regards
Stephan
Tal Liron schrieb:
> This is a basic attribute of any Restlet, but it seems like nowhere in
> the framework is it used.
>
> My expectation was that routers, filters, etc., would not pass
Hi Stefan,
but that doesn't hinder you to use Restlet.
I'm just implementing a SOAP Web Service on top of Restlet, also if it
is not the idea behind it, just because it's easy to use with HTTP.
best regards
Stephan
best regards
Stephan
Stefan Meissner schrieb:
> Hi Stephan,
>
> the use of
Hi Xavier,
please note also that the objects to be serialized need a constructor
without parameter.
Best regards,
Thierry Boileau
> Hi Kevin,
> Thanks for the pointer ; unfortunately I've still the same pb... In my
> previous post there are source codes, and her the libs I use (latest
> snaps
Hello Xavier,
thanks a lot for your report. This helped fixing a bug that avoids a
correct behavior when the annotated interface declares only a "GET"
method...
Unfortunately, it took a huge to understand there was a problem.
Best regards,
Thierry Boileau
> Hi Kevin,
> Thanks for the pointer ;
Is it possible to get the SSL session IDs using Simple HTTPS server connector?
Can the SSLSessionContext IDs be used in the same way as in servlet API like
this:
String sslID =
(String)request.getAttribute("javax.servlet.request.ssl_session");
What I did so far:
Server server = component.getS
OK, does the same constraint apply for SSL sessions?
Is it possible to get the SSL session IDs using Simple HTTPS server connector?
Can the SSLSessionContext IDs be used in the same way as in servlet API like
this:
String sslID =
(String)request.getAttribute("javax.servlet.request.ssl_session"
Hi Stefan,
why do you want to access the session id? The architectural style REST forbid
server session state.
If you want to comply to the REST architecture, than you must not use it. Or do
you want explicit ignore this restriction?
best regards
Stephan
-Ursprüngliche Nachricht-
Vo
Hi Thierry,
With WireShark I am not able to listen on the localhost communication but
here is the NetCat output:
D:\Programme\NCat>ncat -l -p 8080
GET /RESTfulServices/resources/customers/pkey/2176172632 HTTP/1.1
Transfer-Encoding: chunked
Date: Wed, 24 Feb 2010 13:19:10 GMT
Accept: */*
Accept-
Guten Tag ab,
you should keep the MODE_CLIENT_DISPATCHER mode.
Could you trace the sent requests/response with wireshark, for example?
Or let netcat listen on the 8080 (instead of your real server) port as
follow :
$>nc -l -p 8080
It will show you the request that arrives from the server liste
Hallo Thierry,
After I have changed the mode to Redirector.MODE_SERVER_DISPATCHER my
createInboundRoot method looks like this:
@Override
public synchronized Restlet createInboundRoot() {
Router router = new Router(getContext());
router.setDefaultMatchingMode(Template.MODE_STARTS_
Hi Thierry,
thank you for your help.
It seems, that the redirection works now, but in my GWT application I can
not see any correct answer. Firefox/Firebug sais:
Request header:
GET /redirect/RESTfulServices/resources/customers/pkey/2176172632 HTTP/1.1
Host: 127.0.0.1:
User-Agent: Restlet-Fr
Hello,
actually, the second parameter in the Redirector constructor is a
template using a set of known variables (see [0]).
You should be able to use the shipped Redirector, as follow (or
something similar)
new Redirector(getContext(),
"http://192.168.100.1:8080/RESTfulServices{rr}";,
Redirect
the resource has just one Variant:
getVariants().add(new Variant(MediaType.APPLICATION_XML));
thanks,
Rubén Hernando
Thierry Boileau
22/02/2010 17:25
Por favor, responda a
discuss
Para
discuss@restlet.tigris.org
cc
Asunto
Re: ConcurrentModificationException from Resource
Hello Ru
20 matches
Mail list logo