Hello Jerome, answering between lines:
On Thu, Jun 5, 2014 at 8:15 PM, Jerome Louvel jlou...@restlet.com wrote:
Thanks Fabian for the feed-back.
1) We would not set the response entity in this case, only the HTTP status
would be set on the response based on the annotation value.
OK
2)
Hi all,
On 06/06/2014 12:20 AM, Jerome Louvel wrote:
Hi all,
In V2.3 of Restlet API, we would like to introduce automatic conversion
between Java throwable and HTTP status+body, working both ways (client
and server sides).
...
Would that be useful in your web APIs? Any design feed-back?
Hi guys,
I am experiencing some issues with regards to Redirector and external Apache
HTTP Client connector. The issue is that Reverse proxy implemented using
Redirector will die after some time. I was trying to find a reason for this odd
behaviour but with no luck.
I am able to reproduce the
Hi Ramesh,
Please take a look at the example I've attached.
After running it (mvn clean install exec:java) server will be started on port
8080 and reverse proxy on port .
You will be able to access the server on 8080 but you will have to provide
credentials (test/test) when accessing
Hello,
Restlet appears to be changing the thread name to include a URL. While useful
in general we cannot do this for security reasons since some URLs will contain
sensitive data in the form of URL template parameters in the path section.
Does anyone know how to disable this feature?
Thanks
I can find only two instances of ThreadFactory in the Restlet codebase,
neither of which add a URL. The one in TaskService just replaces pool
with restlet in whatever name the default factory uses. The
LoggingThreadFactory uses the name Restlet-XXX where XXX is the hashcode
of the thread being
Hi Tim,
I'm using Restlet 2.2 with the jetty server connector. It would make sense I
guess that this is probably a jetty feature.
An example of what I'm seeing:
20140606-19:53:09.000+|qtp1327174230-143193 - /v1/accounts/deleted|rest
of log message
Thanks,
Paul
I can find only two
Hi Paul,
I suspect this is a Jetty feature as well. If you use Jetty as a Restlet Server
connector, you can have access to the underlying Jetty Server object (and then
its thread pool) via this class:
Found it. Yes this is a Jetty feature and it is only enabled when debug logging
is on.
https://github.com/eclipse/jetty.project/blob/jetty-8.1.5.v20120716/jetty-server/src/main/java/org/eclipse/jetty/server/AbstractHttpConnection.java#L417
Hi Paul,
I suspect this is a Jetty feature as well.
9 matches
Mail list logo