users@jersey.java.net

Automatic encoding/decoding of byte[] to base64Binary fields

From: Andrew Feller <afelle1_at_lsu.edu>
Date: Mon, 09 Feb 2009 13:59:03 -0600

QUESTION: Given that both the input parameter (Class A) and return value
(Class B) for a @POST method are annotated with the @XmlRootElement
annotations, have a valid XSD, and both contain a byte[] property mapped to
a XSD base64Binary element, will Jersey automatically encode/decode the
byte[] array to base64?

Thanks for answering such a stupid question. =\
-- 
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400