Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2859

able to use wrapper class to serialize requests for primitive types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-2.8.15
    • Java-Chassis
    • None

    Description

      for 

      int test(@RequestHeader("name") int name)
      

      Parameter name will serialize using int.class, and if name= (empty string), name will get 0. 

      Some users need name= (empty string) throw an error(which compatible to 1.3.x behavior). 

       

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: