Skip to content

Commit

Permalink
#285 BigInteger support for path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-bygrave committed Sep 13, 2023
1 parent 597bc6e commit e95c818
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.example;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;
import java.util.Set;
Expand Down Expand Up @@ -149,8 +150,8 @@ String formBean(MyForm form) {
return form.name + "|" + form.email + "|" + form.url;
}

// @Get("/bigInt/{val}")
// String testBigInt(BigInteger val) {
// return "hi|" + val;
// }
@Get("/bigInt/{val}")
String testBigInt(BigInteger val, BigInteger someQueryParam) {
return "hi|" + val;
}
}

0 comments on commit e95c818

Please sign in to comment.