Neal Hu created CXF-6377:
----------------------------

             Summary: Wrong media type of response
                 Key: CXF-6377
                 URL: https://issues.apache.org/jira/browse/CXF-6377
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.0.3
         Environment: Windows
            Reporter: Neal Hu
             Fix For: 3.0.5


Resource class
public Response getMediaType() {
                MediaType media = MediaType.APPLICATION_ATOM_XML_TYPE;
                Response response = Response.ok().type(media).build();
                return response;
        }

get media type from response on client side is  null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to