RESTEasy should have some Provider to produce primitive types without @Produces annotation
In RESTEasy 2, DefaultTextPlain provider was used to process return value of end-points, that don't have @Produces annotation and return primitives:
@Path("postInt") @POST public Response postInt() throws Exception { return Response.ok().entity(new Integer(8)).build(); }
In RESTEasy 3, DefaultTextPlain is not used (see comments of this jira). RESTEasy should contains provider for this purpose.
This jira solves partially JBEAP-4725
- is cloned by
-
RESTEASY-1282 RESTEasy should have some Provider to produce primitive types without @Produces annotation
- Closed
- is incorporated by
-
JBEAP-4600 Upgrade Resteasy to 3.0.17.Final
- Closed
- relates to
-
JBEAP-4725 DefaultTextPlain provider should be used for produceing in end-points without @Produces annotation
- Closed