-
Bug
-
Resolution: Done
-
Major
-
3.1.4.Final
-
None
If a resource method without @Consumes or @Produces annotated.
@Path("test")
public class TestResource {
@GET
@Path("/getbool")
public boolean testBoolean()
}
And client sends request with :
Invocation.Builder request = client.target("http://localhost:8080/somear/test/getbool")).request();
Response response = request.get();
String entity = response.readEntity(String.class);
Resteasy throws Resteasy server throws exception : Could not find MessageBodyWriter for response object of type: java.lang.Boolean of media type: application/octet-stream