: Temporarily redirecting client to:
http://www.google.com/search?q=site:blogspot.com+patrick+logan
Oct 8, 2009 5:05:12 PM org.restlet.engine.log.LogFilter afterHandle
INFO: 2009-10-08 17:05:12 0:0:0:0:0:0:0:1%0 - - 8182 GET /search
kwd=patrick+logan 307 0 - 1330
http://localhost:8182 Mozilla/5.0
INFO: Temporarily redirecting client to:
http://www.google.com/search?q=site:blogspot.com+patrick+logan
Oct 8, 2009 5:05:12 PM org.restlet.engine.log.LogFilter afterHandle
INFO: 2009-10-08 17:05:12 0:0:0:0:0:0:0:1%0 - - 8182 GET /search
kwd=patrick+logan 307 0 - 1330
http://localhost:8182 Mozill
com/search?q=site:blogspot.com+patrick+logan
Oct 8, 2009 5:05:12 PM org.restlet.engine.log.LogFilter afterHandle
INFO: 2009-10-0817:05:120:0:0:0:0:0:0:1%0 - -
8182GET /search kwd=patrick+logan 307 0 - 1330
http://localhost:8182 Mozilla/5.0 (
I am sure I only understand the bare minimum of setting up a Server with
ServerResources, etc. The doc that gets into this mostly is in Finder from what
I have seen. i.e. there's not much in Server that indicates how the Class
constructor argument will be used. The tutorial makes clear it can be
"the single JAR choice is useful IMHO for new users, to convince them that
Restlet is truly lightweight. Then, they learn to progressively add extensions
and dependencies without feeling forced to do so"
I agree. I am not a new user to restlet, but this continues to be a key feature
for my own
The docs for ClientResource.get() indicates a ResourceException will be thrown
if the status is not a success. Given a ClientResource on a URL for a bad
domain, e.g. the misspelled "http://www.estlet.org"; results in null rather than
an exception.
The log includes messages like...
INFO: A reco
The code below will get the following exception on initialization of
CharacterSet.class using:
2.0m4
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
Mac OSX 10.5.8
Exception...
bash-3.2$ java -c
In 2.0m4 on line 329 of Variant.java there is a ClassCastException if other is
not an instanceof Variant.
That line should only be executed if the variable result of the previous line
is true. If false then equals should just return false.
--
I have a static Directory routed to "http://someurl";
In 1.1m4 a client could do a GET to either this URL or the URL with a
"/" appended, and the static index.html file would be returned.
I moved up to 1.1m5 over the weekend and my tests indicate a redirect
to the client now occurs for "http://so
Paul J. Lucas lucasmail.org> writes:
> Suppose I have a service that takes some time to compute the
> response to. Further suppose that a client connects but then
> disconnects prematurely for whatever reason either before I start or
> while I am returning a response. Is there any way to know i
> This approach forces you to manage threads explicitly and thus won't
> work with, for example, the Executor framework.
Yeah, but on the other hand the explicit thread local API should come
with a warning to be used only under duress and application developers
should generally be keeping a clean
Thanks for the explanations. We had a situation where a Resource was
inadvertently wired in using Spring's default "singleton" scope. Fortunately
under high load we did see concurrency conflicts show up when setting Status.
The easy fix was using the static thread-local accessor, but the true fix w
>From the relase notes...
"Added a static “current” property to Application, Request, Response and
VirtualHost (using thread local variables)"
What's the relationship among objects returned from Response.getCurrent() or
using the getResponse() instance method in, say, a Resource?
The getCurrent
13 matches
Mail list logo