[Pki-devel] [PATCH] 67 Added REST error handler.

Endi Sukma Dewata edewata at redhat.com
Thu Jun 7 14:29:02 UTC 2012


If a REST method returns a Response object it has to be handled
manually. A new getEntity() method has been added to obtain the
entity from the Response object and also map HTTP errors into
exceptions.

Ticket #161

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-edewata-0067-Added-REST-error-handler.patch
Type: text/x-patch
Size: 7352 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120607/40221f18/attachment.bin>


More information about the Pki-devel mailing list