Re: Access Logging - Multiple Files

2010-07-09 Thread Alex Milowski
On Thu, Jul 8, 2010 at 3:13 PM, Alex Milowski ale...@milowski.org wrote: I've been playing around with the AccessLogFileHandler rather than what I've usually been doing and it works reasonably well except that, somehow, I get two files. I configure my pattern as:

RE: Re: authentication error with jetty on browser

2010-07-09 Thread Laurent Garrigues
Hello bruno, I've been following your advice, now the port already in use error no longer appears, I've also deleted the line adding the SSLContextFactory but I still can't reach the ressource with the browser (authentication error). Here is the output when I start the server :

Re: @Head annotation

2010-07-09 Thread Stephan Koops
Hi Fabian, because GET and HEAD have a very near semantic, it is the same. The only difference is, that you are not required to send the entity body. If you want to optimize, than you could get the method from the request, and than decide, if you have to read the full entity boy, for example.

Re: Pass List Object to Server !

2010-07-09 Thread Stephan Koops
Hi Thangavel, to serialize an object, you just need the following: Representation entity = new ObjectRepresentation(yourObject); To deserialize, you just need: ObjectRepresentation objRepr = new ObjectRepresentation(representation); // representation is from the request / response Object

Re: @Head annotation

2010-07-09 Thread Fabian Mandelbaum
Hello Stephan, well indeed that's what I'm doing right now. on the @Get-annoated method I'm doing something like: if (Method.HEAD.equals(getMethod()) { // HEAD req } else { // GET req } Thanks. On Thu, Jul 8, 2010 at 3:10 PM, Stephan Koops stephan.ko...@web.de wrote: Hi Fabian, because GET