+doc add more detailed PathDirectives documentation

This commit is contained in:
Johannes Rudolph 2015-07-14 19:00:32 +02:00
parent 7291d0ccab
commit ed76b14447
9 changed files with 284 additions and 20 deletions

View file

@ -14,8 +14,8 @@ public class SimpleServerApp8 extends HttpApp {
static Parameter<Integer> x = Parameters.intValue("x");
static Parameter<Integer> y = Parameters.intValue("y");
static PathMatcher<Integer> xSegment = PathMatchers.integerNumber();
static PathMatcher<Integer> ySegment = PathMatchers.integerNumber();
static PathMatcher<Integer> xSegment = PathMatchers.intValue();
static PathMatcher<Integer> ySegment = PathMatchers.intValue();
public static RouteResult multiply(RequestContext ctx, int x, int y) {
int result = x * y;