RE: Re: HTTPS connector

2010-08-27 Thread Thierry Boileau
Hello Nicho, Bruno, you can check this page, that gives more details about connectors and how to add them to your project: http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/37-restlet.html Best regards, Thierry Boileau -- http

RE: What is the point of JaxbRepresentation.getJaxbSource()?

2010-08-27 Thread Thierry Boileau
framework. best regards, Thierry Boileau [1] http://restlet.tigris.org/source/browse/restlet/trunk/modules/org.restlet.ext.jaxb/src/org/restlet/ext/jaxb/JaxbRepresentation.java?view=log -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId

RE: stream closed errors

2010-08-27 Thread Thierry Boileau
oo long >time (for example the client take time to read the already sent bytes). I read >also in the javadocs that instances of the HttpOutput class can be reused (I >can't imagine this happens before the writing has been fullfilled). What kind of clients consume the responses? B

RE: Re: Maximum number of concurrent connections

2010-08-27 Thread Thierry Boileau
Hello Nicolas, this applies also for the httpclient connector. You can have a look at its documentation http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/75-restlet.html (follow the "HTTP client parameters" link). Best regards, Thier

RE: Re: Wrong @Get method is called after negotiation

2010-08-27 Thread Thierry Boileau
Hello, this is not a correct behaviour. I check that. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652049

RE: Wrong @Get method is called after negotiation

2010-08-27 Thread Thierry Boileau
Hello, I've just tested with the curent snapshot. This bug has been fixed after 2.0.0 release. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652055

RE: Re: Optional authentication and ClientInfo.getAuthenticated()

2010-08-27 Thread Thierry Boileau
Hello Bruno, Esteban, thanks for your report, I agree too, and have updated the svn repository. Bets regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652060

RE: Jackson Dependencies

2010-08-27 Thread Thierry Boileau
t think we will plan to merge an extension with its dependencies. In certain cases, an extension relies on another one... By choice, all libraries are shipped with an edition, and, if you use Maven, dependencies are declared in the extension pom.xml file. Best regards, Thierry Boileau [1] http://w

RE: Ignoring incomplete HTTP headers

2010-08-27 Thread Thierry Boileau
Hello Nicolas, this is not supported at this time. I think this could take place in this issue (http://restlet.tigris.org/issues/show_bug.cgi?id=1061). If not, I will create another one. Best regards, Thierry Boileau -- http

RE: WARNING: Unable to find a converter for this representation : [application/x-java-serialized-object]

2010-08-27 Thread Thierry Boileau
Hello, just one thought: does the "GameCommentsAndStats" class implements the Serializable interface? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652091

RE: Negotiation problems with @Get annotation

2010-08-27 Thread Thierry Boileau
happened in servlet containers, which was fixed one or two week ago. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652093

Re: Best way to get automatic JavaScript minification in Restlet

2010-08-30 Thread Thierry Boileau
Hello Tim, I'm sorry for my very late answer. You can also wrap the response's representation into a custom one that aims at applying the minification process. You can have a look at the Encoder filter, especially in the "encode" method which uses an EncodeRepresentation. B

Re: Re: Optional authentication and ClientInfo.getAuthenticated()

2010-09-01 Thread Thierry Boileau
Hello Esteban, you can check request.getClientInfo().isAuthenticated Best regards, Thierry Boileau > For now, I am checking if it is authenticated or not to my application with > this line of code. > >if (request.getClientInfo().getUser() == null) { >

RE: Jackson Dependencies

2010-09-01 Thread Thierry Boileau
tered an RFE: http://restlet.tigris.org/issues/show_bug.cgi?id=1172. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654025

RE: Hang when calling setStatus with CLIENT_ERROR_BAD_REQUEST

2010-09-01 Thread Thierry Boileau
Hello, Nothing special should happen, at first look. Could you provide a sample test case? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654045

RE: 405 on unsupported media type

2010-09-01 Thread Thierry Boileau
Hello, thansk Avi, I've completed the issue 1172 (http://restlet.tigris.org/issues/show_bug.cgi?id=1172). Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654055

RE: Ideal restlet_GWT configuration ? how to retrieve json with the GWT edition of restlet ?

2010-09-01 Thread Thierry Boileau
, please let us know, this is a bug. Best regards, Thierry Boileau [1] http://wiki.restlet.​org/docs_2.0/13-rest​let/21-restlet/318-r​estlet/303-restlet.h​tml -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654058

RE: Android client : how to add cookies ?

2010-09-01 Thread Thierry Boileau
t;I'll post a bug report on the Jackson framework page. Thanks for reporting this issue. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654086

RE: How to configure HttpClientHelper global parameters?

2010-09-01 Thread Thierry Boileau
html Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654133

RE: Stream closed Exception

2010-09-01 Thread Thierry Boileau
Hello Sanjay, are you still having this issue with the last snapshot of the Restlet framework? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654134

RE: Re: Re: PROPFIND doesn't work anymore after the switch from 2.0RC4 to 2.0.0

2010-09-01 Thread Thierry Boileau
Hello Fabian, I feel very sorry for answering so late... Can you try with this signature? public Representation propfind(Representation rep) throws ResourceException { [...] final DomRepresentation reqXML = new DomRepresentation(rep); [...] } Best regards, Thierry Boileau

Re: Custom Outbound Filter

2010-09-01 Thread Thierry Boileau
Hello Joey, you can add a filter in front of your application. That is to say, instead of directly attaching your application, you can attach the filter, which sets the application as its "next" attribute. Best regards, Thierry Boileau Hello community, > > I quite like the R

Re: Custom Outbound Filter

2010-09-01 Thread Thierry Boileau
Hello, I forgot to say, that you will need to override the afterHandle method. Best regards, Thierry Boileau Hello Joey, > > you can add a filter in front of your application. That is to say, instead > of directly attaching your application, you can attach the filter, which &

RE: Simple GAE Hello World Problem

2010-09-01 Thread Thierry Boileau
Hello Gary, I'm so sorry for answering so late. Yes, you need to use Restlet 2.0. Regarding this issue, the last snaphot contains a fix this bug. It should work properly now. Best gregards, Thierry Boileau -- http://restlet.tigris.o

RE: GWT XMLHttpRequest How to set 'withCredentials'

2010-09-01 Thread Thierry Boileau
Hello, as far as I know, this is not supported by the restlet gwt client which relies on the requestBuilder. You can access other sites by using proxy technic. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do

RE: Re: Restlet vs. Resource

2010-09-01 Thread Thierry Boileau
or technical cases. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654159

RE: AJAX Architecture

2010-09-01 Thread Thierry Boileau
est regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2654160

Re: Tomcat with Restlet behind Proxy: Communication Error (1001)

2010-09-02 Thread Thierry Boileau
Hello, I wonder if your application is well configured. Could you have a look at this page? Best regards, Thierry Boileau Hello all, > > We are working on deploying restlet app into tomcat , we are facing a null > pointer exception in the process which we think is because the connec

Re: Restlet 1.1.8 - Content Negotiation strangely failing...

2010-09-02 Thread Thierry Boileau
Hello Mark, could you give some detail about your context. Are you using a servlet container? Best regards, Thierry Boileau So we did a heap dump of the server and found the TunnelService instance - > and it's extensionsTunnel was still set to true. > > Oddly - when looking at

RE: Re: Re: Re: PROPFIND doesn't work anymore after the switch from 2.0RC4 to 2.0.0

2010-09-08 Thread Thierry Boileau
#x27;s warmly recommended (and even mandatory) to have a parameter in the annotated java method. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656741

RE: How to configure HttpClientHelper global parameters?

2010-09-08 Thread Thierry Boileau
Hello Richard, you're right, I've updated the documentation http://wiki.restlet.org/docs_2.0/13-restlet/37-restlet.html. It gives more details about the configuration of client connectors. Feel free to ask for more details, it improves the documentation. Best regards, Thier

RE: Error while parsing simple plain text fields in multipart form at Restlet 1.1

2010-09-08 Thread Thierry Boileau
Hello, I've updated the sample application in order to show that it is possible to mix plain-text fields and file input. Could you check that it works also for you? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessa

RE: URLEncoded querystring params

2010-09-08 Thread Thierry Boileau
Hello Fraser, what kind of client are you using? Why don't you send /mbunittest/myflow?f​oo=foo&bar=bar​&baz=baz? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656877

RE: JMS

2010-09-08 Thread Thierry Boileau
Hello, There is an RFE for this topic http://restlet.tigris.org/issues/show_bug.cgi?id=175 But you will see it has a low priority. Any help regarding this topic is appreciated. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds

RE: ResourceException description not present anywhere in 'default' HTML representation output

2010-09-08 Thread Thierry Boileau
Hello Fabian, thanks for your suggestions, it's now in the svn repository. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656890

RE: ResourceException description not present anywhere in 'default' HTML representation output

2010-09-08 Thread Thierry Boileau
Hi Fabian, it's in the class "org.restlet.engine.application.StatusFilter" Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656893

RE: Question on GWT-Restlet-GAE

2010-09-08 Thread Thierry Boileau
Hello, thanks a lot for your report. This has been fixed. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656906

Restlet Framework 2.0.1released

2010-09-09 Thread Thierry Boileau
contributed to this release. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2656921

RE: restlet:The method specified in the request is not allowed for the resource identified by the request URI

2010-09-22 Thread Thierry Boileau
Hello, could you precise the content of the resource? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2663190

RE: Re: reconstructing an HttpServletRequest from a Restlet request ?

2010-09-22 Thread Thierry Boileau
hello Vincent, don't worry and thanks for sharing your experience! best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2663214

RE: Forcing a preferred variant in ServerResource

2010-09-22 Thread Thierry Boileau
Hello Ron, I think you can declare the "json" method before the other ones. At this time, the scoring algorithm gives precedence to the first declared method. Best regards, thierry boileau -- http://restlet.tigris.org/ds/view

RE: Getting Error 1002 for everything after a while

2010-09-22 Thread Thierry Boileau
Hello, can you try with the 2.0.1 release? It fixes some GWT bugs. best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2663382

RE: Re: POST Requests return with a 405 with @Post annotated method

2010-09-22 Thread Thierry Boileau
Hello Dustin, thanks for your report. I've fixed this bug in the svn repository (trunk and 2.0 branch). Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2663402

RE: Accept Header not working

2010-09-26 Thread Thierry Boileau
Hello, I've juste tried using firefox and a Restlet client, and I get the right list of accepted media types on server side. Could you precise the kind of clietn are you using, and maybe give more details about the servier side? Best regards, Thierry Bo

RE: Determinism in content negotiation

2010-09-26 Thread Thierry Boileau
e2() { //return a JSON Representation according to your own serialisation algorithm. } I don't argue to reply plainly to your request, so feel free to ask for more details! Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/view

RE: Re: ClientInfo.userAgentTemplates never initialised?

2010-09-28 Thread Thierry Boileau
Hello Michael and Tim, Thanks a lot of reporting this bug (shame on me...). I've updated the trunk and the 2.0 branch. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2665828

RE: 1st Server Program Doesn't Work

2010-10-06 Thread Thierry Boileau
Hello Steven, I've tried successfully with the current snapshot. My project depends only on the org.restlet.jar. Could you give more details about your context (version of restlet, jre, OS)? Best regards, Thierry Boileau --

RE: PUT requests return 405 code with @Put annotated method using 2.0.1 release

2010-10-06 Thread Thierry Boileau
Hello, could you give more details about the annotated method? Do such methods have an argument? What release of the Restlet framework are you using? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447

RE: Put method not working on deployed GAE app

2010-10-06 Thread Thierry Boileau
Hello, I notice also that it works using a simple servlet container such as Tomcat. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2668601

Re: Re: Exception in Applet running in Eclipse

2010-10-06 Thread Thierry Boileau
fixed the trunk and the 2.0 branch. Thanks a lot for reporting this issue. As a workaround, you can try to clear this property: System.clearProperty("http.proxyHost"); Best regards, Thierry Boileau Hello, > > I was hoping to hear back on this problem as I'm trying

RE: PUT requests return 405 code with @Put annotated method using 2.0.1 release

2010-10-07 Thread Thierry Boileau
Hello Juan, just for a purpose of test, could you rename the method? For example: @Put Representation store(Representation representation) Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessa

Re: org.restlet.lib.org.json has malformed Maven data. Any plans to release it with valid metadata?

2010-10-13 Thread Thierry Boileau
Hello Bartek, we are on the way to change these poms : remove the reference to the parent pom (which will remove the dependency to snapshot release of restlet artifacts), handle the dependency between libraries inside the pom. Best regards, Thierry Boileau Hello, > > In our Maven-based p

RE: Re: migration from 1.x to 2.0

2010-10-13 Thread Thierry Boileau
our resource as follow : public class ResourceTUM extends AbstractResourceTemplate { @Get("txt") public String toText() { return "my text representation" } @Get("html") public Representation toHtml() { [...] } I hope it clarifies what happens. Feel free to ask for

RE: Re: [Geoserver-users] Using Geo server to reference external data stores for shapefiles

2010-10-13 Thread Thierry Boileau
Hello, I'm not sure if this thread has been posted in the right forum. I just notice this message when PUTting : < Server: Noelios-Restlet-Engine/1.0..8 < Allow: POST, GET the target resource allows only POST and GET requests. Best regards, Thie

RE: Use rest api confihuration to Configure geoserver to reference shapefiles not in it's data directory.

2010-10-13 Thread Thierry Boileau
Hello Thomas, is your question related to the Restlet framework? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2671291

Re: correct extension for media type text/uri-list

2010-10-13 Thread Thierry Boileau
diaTypes not listed here that were available in > restlet 1.x? > humm, I think both lists of shipped media types and extensions have been enriched. Best regards, Thierry Boileau > > best regards, > Tobias > -- > Dipl.-Bioinf. Tobias Girschick > > Technische Univer

RE: Setting cookies

2010-10-20 Thread Thierry Boileau
Hello, I've just tested with Restlet 2.0.1 and IE7/Firefox 3.6 and it works for me. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2673811

RE: 405 Method not allowed doing get after post

2010-10-21 Thread Thierry Boileau
Jetty, Simple, etc. see this page for more details: http://wiki.restlet.org/docs_2.0/13-restlet/37-restlet.html Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2674226

RE: Re: POST Requests return with a 405 with @Post annotated method

2010-10-21 Thread Thierry Boileau
maven it won't be supported any >longer (due to the fact that >it is useless without >editions). Is that correct? it should work. I have a look at this. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2674335

RE: Re: POST Requests return with a 405 with @Post annotated method

2010-10-21 Thread Thierry Boileau
repository, snapshots of both 2.0 and 2.1 releases are available (version => 2.0-SNAPSHOT and 2.1-SNAPSHOT, in date of october, 15th). It must contain the bug fix. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?d

RE: Freemarkers templates loading

2010-10-24 Thread Thierry Boileau
est regards, Thierry Boileau ps : you can have a look here : http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/312-restlet.html -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2675070

RE: Re: How to add header for http request

2010-10-24 Thread Thierry Boileau
great, thanks Fabian. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2675075

RE: android applications that use restlet

2010-10-24 Thread Thierry Boileau
Hello, I don't know if there are Restlet based app in the Androd market place. If you are looking for some sample code, you can have a look here: http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html. Best regards, Thierry Bo

RE: WADL and XML Representation namespaces in Restlet 2.0.1

2010-10-24 Thread Thierry Boileau
Hello Leigh, I think the namespaces should be propagated from the ApplicationInfo instance. Could you try to call Application#getNamespaces().put("test", "http://example.com";); Best regards, Thierry Boileau -- http://r

RE: Cannot request resources from GWT client when using Collection as a parmeter?

2010-10-26 Thread Thierry Boileau
Hello Evan, thanks for reporting this bug, I've entered an issue for it: http://restlet.tigris.org/issues/show_bug.cgi?id=1195 Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2675671

RE: ClientResource and HttpClientHelper in 2.0.1

2010-10-27 Thread Thierry Boileau
(); context.setClientDispatcher(new Client(Protocol.HTTP)); ClientResource cr1 = new ClientResource(context, "http://www.example.com";); ClientResource cr2 = new ClientResource(context, "http://www.example.net";); Best regards, Thierry Boileau ---

RE: android applications that use restlet

2010-10-27 Thread Thierry Boileau
, sorry). You can look for "ABE" from your handset. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2675971

RE: 405 Method not allowed doing get after post

2010-10-27 Thread Thierry Boileau
Hello Rob, The fix is now available in the svn repository (both 2.1 trunk and 2.0 branch). It will be part of the 2.0.2 release (coming soon) and next 2.1 M1. best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do

RE: help, I need my URLS defaulted to https:// not http://

2010-10-27 Thread Thierry Boileau
[2]. Best regards, Thierry Boileau [1] http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/70-restlet/196-restlet.html [2] http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/325-restlet/37-restlet.html -- http://restlet.tigris.or

RE: String Serialization Issue With GWT

2010-10-27 Thread Thierry Boileau
), and the 2.1 M1. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2676019

RE: Re: how to get String with space inside

2010-11-01 Thread Thierry Boileau
iables().put("cityPa​rameters", v); best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2677698

RE: Trying to use restlet client from inside restlet server code

2010-11-01 Thread Thierry Boileau
: component.getClients().add(Protocol.HTTP); By default, the internal client and server connectors are used, but you can use one of the others (see [2]). Best regards, Thierry Boileau [1] http://wiki.restlet.org/docs_2.0/378-restlet.html [2] http://wiki.restlet.org/docs_2.0/37-restlet.html

RE: A few questions about restlet.

2010-11-01 Thread Thierry Boileau
/create in this uri, the back will create a new >code When I see action is the uris, I'm worrying. Do you want to create new code by sending GET requests? Does a "code" resource (such as "/codes/{code}") could have a sense? Best regards, Thierry Boileau

RE: [GWT] "The method getAnonymousLogger() is undefined for the type Logger"

2010-11-01 Thread Thierry Boileau
Hello Olivier, the port is available in the trunk (2.1 release) and the 2.0 branch. It will be part of 2.0.2 release (coming soon), and next 2.1M1. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447

RE: Non-blocking remove/reset of Memoizer

2010-11-03 Thread Thierry Boileau
Hello Nader, at first glance, I should say your question has not been posted to the right forum. Does it have any link with the Restlet framework? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447

RE: Jackson Dependencies

2010-11-03 Thread Thierry Boileau
Hello Doug, this issues has been closed. The fix will be part of the 2.0.2 release and 2.1 M1. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678380

RE: How to Force URL Encoding Before URI Matching?

2010-11-12 Thread Thierry Boileau
(getContext(), router) { @Override protected int beforeHandle(Request request, Response response) { // handle the request's url return Filter.CONTINUE; } }; return filter; // return router; } Best regards, Thierry Boileau --

RE: Using GWT extension takes over the content negotiation!

2010-11-12 Thread Thierry Boileau
you make a try with the 2.0.3 release? Best regards, Thierry Boileau ​ -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2681273

Re: Serving static files via CLAP protocol

2010-11-12 Thread Thierry Boileau
mponent.getClients().add(Protocol.CLAP); And complete the definition of the single Component: Component component = new Component(); component.getServers().add(Protocol.HTTP, 8080); component.getClients().add(Protocol.CLAP); component.getDefaultHost().attach("/myapp",new MyApplication()); B

RE: POST method not working (Error 405)

2010-11-12 Thread Thierry Boileau
Hello, could you give a little bit more details? What kind of client are you using, do you use some extensions of the Restlet framework? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessa

RE: Exception in ClientResource.get()

2010-11-12 Thread Thierry Boileau
Hello, could you precise the version of the Restlet framework you are using? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2681335

RE: XStream extention and NO_REFERENCES

2010-11-12 Thread Thierry Boileau
/org.restlet.engine.converter.ConverterHelper file in your classpath. This file contains only one line of text: the full name of your new Converter class. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessa

RE: POST method not working (Error 405)

2010-11-15 Thread Thierry Boileau
hello, it should work as described in your second mail... I send you two simple files (an Application and a ServerResource) that work for me with Restlet 2.0.3 and current 2.1 trunk. Best regards, Thierry Boileau -- http://restlet.tigris.org

RE: Error when posting to webapp running on 2.1MS1

2010-11-15 Thread Thierry Boileau
Hello, I've just tested the 2.1M1, and it works for me. I wonder if your webapp contains at least the core module (org.restlet.jar), and of course the servlet extension (org.restlet.ext.servlet.jar). Best regards, Thierry Boileau --

RE: Changing Content-Type on ClientResource

2010-11-17 Thread Thierry Boileau
you have a reason to specify the "xml" parameter? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682405

RE: 2.1 JSE : RecipientInfo/Via chokes on ":" in token

2010-11-17 Thread Thierry Boileau
st regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682425

Re: Hang when calling setStatus with CLIENT_ERROR_BAD_REQUEST

2010-11-17 Thread Thierry Boileau
://wiki.restlet.org/docs_2.0/37-restlet.html Best regards, Thierry Boileau version: 2.0.3 (stable) > > I am seeing this too, although not only on CLIENT_ERROR_BAD_REQUEST. > > Did you get anywhere discovering what it might be ? > >

RE: Nested routers and keeping remaining part

2010-11-17 Thread Thierry Boileau
oot router as follow: router.setDefaultMatchingMode(Template.MODE_STARTS_WITH); Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682433

RE: BufferOverflowException when response size exceeds 8192 bytes

2010-11-17 Thread Thierry Boileau
Hello Tom, thanks a lot for your help, the fix is available in the svn repository. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682439

RE: I want to upload a file to the server from a java client but receive a (415) error code

2010-11-17 Thread Thierry Boileau
erver side. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682443

RE: Can not access wiki..

2010-11-17 Thread Thierry Boileau
Hello, I'm not aware of such blocking policy. What are the symptoms? Are you able to ping the wiki.restlet.org machine? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682445

RE: InputStream In not closing properly in InputRepresentation Class

2010-11-17 Thread Thierry Boileau
Hello Somu, thanks for your help. I've entered an issue in order to tkae care of this problem: http://restlet.tigris.org/issues/show_bug.cgi?id=1204. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsFo

Re: Best way to get automatic JavaScript minification in Restlet

2010-11-17 Thread Thierry Boileau
illing it. Best regards, Thierry Boileau I just filed issue 1198 which has one file Java program that demonstrates > the problem. > > http://restlet.tigris.org/issues/show_bug.cgi?id=1198 > > <http://restlet.tigris.org/issues/show_bug.cgi?id=1198>--tim > > > On Mon, Nov

RE: Odata Code generation

2010-11-17 Thread Thierry Boileau
ample, service.setCredentials(new ChallengeResponse(ChallengeScheme.HTTP_BASIC, login, password.toCharArray())); Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682500

RE: Can not access wiki..

2010-11-18 Thread Thierry Boileau
Hello Nick, thanks for your report. I've tested Opera under Xubuntu and it fails too... I'll keep you informed. Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2683020

RE: Can not access wiki..

2010-11-19 Thread Thierry Boileau
Hello Nick, another person has reported this error in the Opera forum => http://my.opera.com/community/forums/topic.dml?id=807312&t=1290154364&page=1#comment7706822 Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/vie

Re: router.attach advice please...

2010-11-24 Thread Thierry Boileau
Hello Bob, if I understand well, you are sending AJAX requests from browsers? I wonder if you are experiencing the "same origin policy" mechanism: http://en.wikipedia.org/wiki/Same_origin_policy. Could you confirm? Best regards, Thierry Boileau Hi, I'm fairly new to res

RE: Converter Service in 2.1 Release

2010-11-24 Thread Thierry Boileau
. The converter is then discovered automatically by the engine. Best regards, Thierry Boileau ps: >I am using the old form of having a service declared under the META-INF >directory actually, this mechanism is not so old :) http://java.sun.com/developer/technicalArticles/javase/exte

RE: Post method not work when deployed to GAE

2010-11-25 Thread Thierry Boileau
Hello, could you precise the version of Restlet you are developping with? Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2685586

RE: I want to upload a file to the server from a java client but receive a (415) error code

2010-11-25 Thread Thierry Boileau
t.txt"); file.write(new FileOutputStream(fichier)); return new FileRepresentation(fichier, file.getMediaType()); } Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2685605

  1   2   3   4   5   6   7   8   9   10   >