CXF JAX-RS provides a comprehensive support for reading and writing multipart messages. Regular multiparts and XOP attachments are supported.