liubao created SCB-2859:
---------------------------

             Summary: able to use wrapper class to serialize requests for 
primitive types 
                 Key: SCB-2859
                 URL: https://issues.apache.org/jira/browse/SCB-2859
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
            Reporter: liubao
            Assignee: liubao
             Fix For: java-chassis-2.8.15


for 
{code:java}
int test(@RequestHeader("name") int name)
{code}
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). 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to