cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neal Hu (JIRA)" <>
Subject [jira] [Created] (CXF-6377) Wrong media type of response
Date Wed, 29 Apr 2015 07:22:05 GMT
Neal Hu created CXF-6377:

             Summary: Wrong media type of response
                 Key: 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

View raw message