but that could be
used for 1.2). Perhaps it could be time to put it somewhere in the
Restlet code-base too. I was going to wait for the 1.1 release, but
if Roman is doing some work on this type of problem too, we might as
well try to coordinate our work.
Best wishes,
Bruno.
Roman Geus wrote:
Hi Jerome
it work for you now?
Sorry for the delay, because I have to do a lot of other things in the
moment I do not read the mailing list emails fast. If you note in the
subject that it's a problem for JAX-RS, than I will read it earlier
perhaps.
best regards
Stephan
Roman Geus schrieb:
Hi Thierry
Hi Thierry
To my knowledge my example uses only Restlet classes, i.e.
javax.ws.rs.core.Response
I think the problem could be in
org.restlet.ext.jaxrs.internal.provider.StringProvider.getSize(...). It
returns the number of characters, but the docs of
Hi all
I have run across a problem, where the last few bytes of the entity body
are not transferred to the client.
The problem occurs if the number of characters in the entity body does
not match the number of bytes in the encoded string (in my case UTF-8).
Example 1:
@GET
BTW: I was using Restlet 1.1rc2, the reported tests.
Roman
Roman Geus wrote:
Hi all
I have run across a problem, where the last few bytes of the entity
body are not transferred to the client.
The problem occurs if the number of characters in the entity body does
not match the number
Hi Stephan
Yes it works now. Also regexp in path templates seem to work now.
Many thanks!
Roman
Stephan Koops wrote:
Hi Roman,
does it work for you know?
http://restlet.tigris.org/issues/show_bug.cgi?id=594
best regards
Stephan
Roman Geus schrieb:
Hallo all
I'm using restlet 1.1-m5
-
De : Roman Geus [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 août 2008 09:58
À : discuss@restlet.tigris.org
Objet : Re: Routing in Restlet JAX-RS applications
Hi Stephan
Thanks for your reply and for looking into this.
My expectation was, that path parameters should only be assigned
properties.
NegotiateFilter is based on Bruno Harbulot's SpnegoFilter.
Roman Geus
Cheers,
Roman
Stephan Koops wrote:
Hi Roman,
cool. Could you share the full filter class(es?) to be added to the
Restlet API?
best regards
Stephan
Roman Geus schrieb:
Hi all
I have been working on a Filter
Hi all
I have been working on a Filter that implements client and server side
HTTP Negotiate and Basic authentication. The code is based on Bruno
Harbulot's nice SpnegoFilter.
Everything works fine so far. However to get the client-side
authentication working I had to change the
message about UriInfo.getPath().
If it is ok, I will use your code fragments as JUnit test cases.
best regards
Stephan
P.S.: I've had a small holiday from tuesday, so sorry for the delay.
Roman Geus schrieb:
Hallo all
I'm using restlet 1.1-m5 and I have a problem with routing http
requests
.
The above URL also matches the template
@Path({project}/{repository}/schema/{schema}), and in this case the
parameters are assigned as expected.
However since two resource methods match the given URL, often the wrong
one (repository) is called.
Bug or feature?
Best regards,
Roman
Roman
uriInfo.getPath():http://localhost:8182/test/example
uriInfo.getAbsolutePath():http://localhost:8182/test/example
According to the docs UriInfo.getPath() should return a relative path.
Cheers,
Roman
--
Roman Geus
Paul Scherrer Institut
AIT
Scientific Computing
5232 Villigen PSI
Switzerland
Tel: +41 56
Hallo all
I'm using restlet 1.1-m5 and I have a problem with routing http requests
to JAX-RS resource methods:
My resource class looks as follows:
@Path(admin)
public class RestAdminServiceResource {
/**
* Provides both static and dynamic, per-request information, about the
*
://www.noelios.com
-Message d'origine-
De : Roman Geus [mailto:[EMAIL PROTECTED]
Envoyé : lundi 11 août 2008 17:05
À : discuss@restlet.tigris.org
Objet : Setting a Filter for a JAX-RS resource class or application
Hi all
I would like to set a Filter for a JAX-RS resource or application
://restlet.tigris.org/issues/show_bug.cgi?id=457
Roman Geus wrote:
Hello all
I'm new to Restlet and would like to implement a REST interface for
an existing application using Restlet and JAX-RS.
I need to support both HTTP Negotiate and HTTP Basic authentication
vs an Active Directory server
?
Any help with this (example code, hints, pointers, ...) would be highly
appreciated.
Thanks,
Roman
--
Roman Geus
Paul Scherrer Institut
AIT
Scientific Computing
5232 Villigen PSI
Switzerland
Tel: +41 56 310 54 85
Fax: +41 56 310 36 49
e-Mail: [EMAIL PROTECTED]
Hi all
I'm new to Restlet and I would like to implement a REST interface for my Java
application using the JAX-RS API.
My application uses the JAAS framework for authentication vs a Windows Active
Directory and also for authorization.
I have written a custom Guard for doing HTTP basic
the Restlet team plans to redesign the authentication etc., it
was moved to later, after Restlet 1.1, to have enough time for
implementing and testing.
Roman Geus schrieb:
Hi all
I'm new to Restlet and I would like to implement a REST interface for
my Java application using the JAX-RS API
it with the current version
of Restlet. One problem is, that the resource classes will have Restlet
specific code in it and will not be portable to other JAX-RS
implementations.
Best regards,
Roman
best regards
Stephan
Roman Geus schrieb:
Hello Stephan
Thanks for your reply.
Does this mean
19 matches
Mail list logo