|
From: John D. A. <joh...@gm...> - 2014-03-16 23:37:32
|
Just to close the loop on this - yes, cookies are stored by default. Made my life much easier. One other question. I'm essentially building a standalone client to my main app, one that's pretty independent and meant to run standalone (either in an SE runtime or a pure servlet container). I'm trying to keep the client as small as possible. One thing I noticed is that resteasy-jaxrs is brought in by resteasy-jaxrs-client. I'm assuming this is by design due to some of the shared capabilities of client and server. Is this whole JAR really necessary though? Is there perhaps a smaller set of packages I could use, and shade into a custom JAR I'm building? John On Sun, Mar 9, 2014 at 8:26 PM, Bill Burke <bb...@re...> wrote: > I don't remember if cookie caching is on by default. Resteasy client is > based on Apache Http Client and you can definitely turn on cookie > caching there. I should probably add some high level Resteasy switch > for this too. > > > On 3/9/2014 8:22 PM, John D. Ament wrote: >> Hi all, >> >> Assuming that I'm using the RESTeasy JAX-RS 2.0 client APIs with proxy >> support, is there a way to maintain cookies between requests? Or is >> there a way to read cookies from the response and pass in as request >> params? >> >> John >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> Resteasy-users mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-users >> > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Resteasy-users mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-users |