-
Bug
-
Resolution: Done
-
Major
-
3.0.14.Final
-
None
-
None
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 RESTEASY-1403
- clones
-
JBEAP-2847 RESTEasy should have some Provider to produce primitive types without @Produces annotation
- Closed
- relates to
-
RESTEASY-1403 DefaultTextPlain provider should be used for produceing in end-points without @Produces annotation
- Open