Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1662

Enable String marshalling forString based @*Param into char primitive or char wrapper

    XMLWordPrintable

    Details

      Description

      String marshalling for String based @*Param (@QueryParam, @MatrixParam...) should be supported by default as it is already done for other primitive types.

      Example:

      
       @GET
          @Produces("application/char")
          public String doGet(@QueryParam("char") char v) {
              Assert.assertEquals(QueryParamAsPrimitiveTest.ERROR_MESSAGE, 'a', v);
              return "content";
          }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                asoldano Alessio Soldano
                Reporter:
                nicolas.n Nicolas NESMON
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: