Skip to content

Commit

Permalink
Merge pull request #288 from avaje/feature/BigInteger
Browse files Browse the repository at this point in the history
#285 BigInteger support for path parameter
  • Loading branch information
rob-bygrave authored Sep 13, 2023
2 parents cc7d5ce + e95c818 commit 61e2494
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 61e2494

Please sign in to comment.