RE: Solr integration

2009-01-11 Thread Jerome Louvel
Rémi, Sounds good! Also, if you are interested (and have enough available time) to lead the whole Lucene extension, I would be happy to have you as the extension committer, with commit rights, etc. See details about development process here: http://wiki.restlet.org/developers/179-restlet/

Re: Solr integration

2009-01-11 Thread Rémi Dewitte
Jérôme, I'll try to contribute some documentation as soon as possible and possibly look at the Tika stuff too. Have a nice week ! Rémi On Sun, Jan 11, 2009 at 17:41, Jerome Louvel wrote: > Hi Rémi, > > Sorry for the slow reply! > > *1) Solr support* > > First, let me thank you for contributin

RE: Solr integration

2009-01-11 Thread Jerome Louvel
Hi Rémi, Sorry for the slow reply! 1) Solr support First, let me thank you for contributing this class. I went ahead and created the "org.restlet.ext.lucene" module in SVN trunk with the necessary/minimal library dependencies (for Lucene, Tika, Solr). The build has been updated to includ

RE: Re: JsonRepresentation(JSONArray jsonArray) Not working

2009-01-11 Thread Daniel Woo
In Restlet 1.1.1 the result is still {"class":"class org.json.JSONArray"} which version or patch you will have it? So far, it's a little clumsy to query a list of resources like /rest/cars without JSONArray -- http://restlet.tigris.org/ds/vie

RE: Re: SpringBeanRouter issues

2009-01-11 Thread Daniel Woo
one more thing, if you want to intercept MyResource.represent(Variant), that won't work with Spring AOP (jdk proxy or cglib). Because this method is called by Resource.handleGet() You have to intercept Resource.handleGet()/Put()/Post()/Delete(), or use static waver like aspectJ. > I think you

RE: Re: JsonRepresentation(JSONArray jsonArray) Not working

2009-01-11 Thread Daniel Woo
And I think json-lib is better than json.org, I use json-lib to convert json with xml, while json.org cannot do that. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1014213

JSON-Lib and Restlet

2009-01-11 Thread postmaster
I am a new user of Restlet (and quite hapy with it, too), but I found that using the JSON classes that come with it do not work well enough for me. They do serialize basic classes, but do not work on things like HashMap, or really anything nested. I checked the main JSON website to see if ther

RE: routes with URIs

2009-01-11 Thread Benjamin Dai
Hi Clif, Yes, this is the exact same issue we are encountering with our RESTlet efforts. The fundamental requirement is that we need the ability to specify an encoded RESTlet variable. In our case, the variable can be a URI. Or, it could include include other kinds of characters that require en

How to set the SSLContextFactory in the Client

2009-01-11 Thread christian . haintz
I use Restlet Version 1.1 I tried it this way: Client client = new Client(new Context(), Protocol.HTTPS); Context con = client.getContext(); Series param1 = con.getParameters(); param1.add("sslContextFactory","MySSLContextFactory"); where MySSLContextFactory has t

RE: Re: Restlet 1.1-RC1 in OSGi

2009-01-11 Thread eneko
sorry again for not login in before posting, something happened with the cookie and Firefox didn't remember my credentials... -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1014574

Servlet Filter using request.getParameter loses Form data

2009-01-11 Thread postmaster
We added servlet filter to our application which calls request.getParameter("name"). That breaks Restlet Form handling. request.getEntityAsForm() will return empty form. It seems that getParameter interferes with getInputStream in the case form data is sent using POST. To me this sounds to be a

improving Protocol.valueOf()

2009-01-11 Thread Carlos Alexandre Moscoso
Hi, I think the behavior of Protocol.valueOf() could be improved. What do you think of Protocol.valueOf("http://www.restlet.org/";).equals(Protocol.HTTP) resulting in true? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessag