Hi,
I am developing REST services using CXF and am exposing each service to
provide output in multiple content types  viz , application./xml,
application/json, text/html etc...
To determine what content type every request should request for, I managed
to work out that I can use cxf extensions to provide the content type as
extension.

like /api/service.xml, /api/service.json  and so on.

However, I would like to know if it is possible to provide the content type
through request header and how in CXF I can read and provide output in
suitable content type.

Thanks,
Anand

Reply via email to