Thanks for the tip, although I'm afraid it wasn't entirely effective.
I used getLogService().setEnabled(false) - but I'm still getting the
following:
Apr 8, 2008 12:23:48 AM org.apache.commons.httpclient.HttpMethodBase
readResponseBody
INFO: Response content length is not known
Any ideas?
Ian.
How do you stop a bull from charging? You take away his credit cards :-)
Here's a neat little recipe for how to fiddle with Java Logging with regard
to Restlet:
http://www.naviquan.com/blog/restlet-cookbook-log
On Mon, Apr 7, 2008 at 9:22 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> How do I s
How do I stop Restlet from logging to the console?
Ian.
--
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity
Ok, I think I fixed it - the problem was that after some calls I
wasn't doing a getEntity().getText() (I didn't require the entity).
Its a bit of a nasty pitfall for newbies...
Ian.
On Mon, Apr 7, 2008 at 4:29 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> I keep getting the following timeout when
I keep getting the following timeout when I try to do a HTTP GET on a
resource (I'm using Restlet both server and client side, v1.0.9). It
only seems to happen if I PUT and then DELETE the resource, and then
try to GET it after its been deleted. If I never create the resource
in the first place,
Adam,
Based on Rhett's example (modified to the same url), if I do:
Router top = new Router(getContext());
Guard g = new SharedSecretGuard(getContext(), "realm");
Router secureRouter = new Router(getContext());
secureRouter.attach("/users/{username}", UserResource.
You don't have to change the URL. The Guard wraps the Resource
attached at that URL.
.. Adam
On Mon, Apr 7, 2008 at 6:58 AM, Barrie Selack <[EMAIL PROTECTED]> wrote:
> Rhett,
>
> Thanks, that fills in one of the gaps.
>
> So, if I understand correctly, if I have a url:
>
> /users/bselack that
Rhett,
Thanks, that fills in one of the gaps.
So, if I understand correctly, if I have a url:
/users/bselack that maps to resource: UserResource
And I want it to be secured, then I'd need to assign the guard and add attach
it at /secure
So my final url would be /secure/users/bselack
Is that
Thierry Boileau gmail.com> writes:
>
> Hello Umair,
>
> I've just tested the attached sample code with current trunk release
> and it works well.
> Could you precise what release of Restlet, what kind of connectors are
> you using?
>
> best regards,
> Thierry Boileau
I have updated to version
Thierry Boileau gmail.com> writes:
>
> Hello Umair,
>
> I've just tested the attached sample code with current trunk release
> and it works well.
> Could you precise what release of Restlet, what kind of connectors are
> you using?
>
> best regards,
> Thierry Boileau
I am using 1.0.7 version.
Hello Umair,
I've just tested the attached sample code with current trunk release
and it works well.
Could you precise what release of Restlet, what kind of connectors are
you using?
best regards,
Thierry Boileau
On Mon, Apr 7, 2008 at 12:54 PM, Umair <[EMAIL PROTECTED]> wrote:
> Hi
> I am pas
Hi
I am pasting the following stack trace which happens
when I am sending a response.
java.io.IOException: Stream closed
at simple.http.MonitoredInputStream.ensureOpen
(MonitoredInputStream.java:184)
at simple.http.MonitoredInputStream.read
(MonitoredInputStream.java:83)
at java.io.Fil
Thanks for looking into this ... I've just reverted to 1.1M2 for the morning
and will dig into this in more detail after I've shoved out my deliverable
...
- Rob
On Mon, Apr 7, 2008 at 6:31 AM, Thierry Boileau <[EMAIL PROTECTED]> wrote:
> Hi Rob,
>
> I've made some tests with the attached code a
Hi Rob,
I've made some tests with the attached code and it works with both
File and Clap connectors and the 1.1M3 release.
What troubles me is the fact the the router seems unable to do its
jobs properly. But I can't say why.
best regards,
Thierry Boileau
On Mon, Apr 7, 2008 at 11:47 AM, Stepha
Any other restlet users planning on being at apachecon in Amsterdam
this week? I will be, at the hacker event and then the rest of the
week...I have some demos of my stuff deploying restlet clients for
amazon S3 with smartfrog, as part of EC2 farm management. Corner me if
curious.
-steve
On 4 Apr 2008, at 18:07, Stian Soiland-Reyes wrote:
So the connection to romeo.net should be certified https as well,
otherwise this is just as insecure as OpenID.
yes, that's a good point. At least it is not much worse than openid,
which is not bad. A man in the middle attack is not so ea
Hi Rob,
Thierry and I added content negotiation by file extension (implemented
in the TunnelFilter, reading data from MetadataService). It cuts the
".html" and change the AcceptHeader to "text/html" for this request.
Perhaps this causes trouble. Thierry updated the Directory, so that the
Dire
Just noticed something peculiar and haven't run it down yet, just wanted to
see if anybody else had noticed the same:
In earlier releases, with this:
final Directory d = new Directory(getContext(),
"clap://thread/client-bin"){
};
root.attach
Hello,
I've been looking into enhancing SSL support in Restlet. The main
problem is that the way SSL can be set up is fine for basic cases, but
isn't really sufficiently flexible for more serious uses.
Some of the problems have been described in
http://restlet.tigris.org/issues/show_bug.cgi?id=2
19 matches
Mail list logo