[ 
https://issues.apache.org/jira/browse/SCB-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubao closed SCB-838.
----------------------
    Fix Version/s:     (was: java-chassis-2.9.0)
       Resolution: Won't Fix

> SCB-838  @CookieValue do not support defaultValue
> -------------------------------------------------
>
>                 Key: SCB-838
>                 URL: https://issues.apache.org/jira/browse/SCB-838
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: 何一乐
>            Priority: Major
>
> @GetMapping("intCookieWithDefault")
>  public int intCookieWithDefault(@CookieValue(value = "input", defaultValue = 
> "13") int input)
> { return input; }
> @Path("intCookieWithDefault")
>  @GET
>  public int intCookieWithDefault(@CookieParam(value = "input") 
> @DefaultValue("13") int input) {
>  return pojo.intBody(input);
>  }
> spring mvc  @CookieValue and jaxrs @CookieParam do not support defaultValue



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

Reply via email to