Hi Michael, This is a discuss topic, so I'm moving it there.
On Nov 7, 2009, at 9:24 AM, Michael Strupp wrote: > Hello community > > I'm writing a java Rest Client with restlet, to call a .NET > Webservice. > > To debug my application, it would be nice to watch the http request my > client sends to the server. > > What i need is a simple method witch shows me for example something > like > that: > > GET /infotext.html HTTP/1.1 > Host: www.example.net > > or this: > > POST /wiki/Spezial:Search HTTP/1.1 > Host: de.wikipedia.org > Content-Type: application/x-www-form-urlencoded > Content-Length: 24 > > search=Katzen&go=Artikel > > > Is there a way to do this? One way would be to use Apache HTTP Client connector and use its (Apache HTTP Client's) wire logger: http://hc.apache.org/httpclient-3.x/logging.html Rhett ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2415771