@Override public int end(final int group) { if (group == 0) { return end(); } throw new IndexOutOfBoundsException(); }
@Override public String group(final int group) { if (group == 0) { return group(); } throw new IndexOutOfBoundsException(); }
@Override public int start(final int group) { if (group == 0) { return start(); } throw new IndexOutOfBoundsException(); }
@Override public Continuation apply(final RequestProcessingContext processingContext) { final RoutingContext rc = processingContext.routingContext(); rc.pushMatchResult(new SingleMatchResult("/" + processingContext.request().getPath(false))); return Continuation.of(processingContext, rootRouter); } }
/** * Construct a match result matching the whole supplied path. * * @param path matched path. */ public SingleMatchResult(final String path) { this.path = stripMatrixParams(path); }
@Override public Continuation apply(final RequestProcessingContext processingContext) { final RoutingContext rc = processingContext.routingContext(); rc.pushMatchResult(new SingleMatchResult("/" + processingContext.request().getPath(false))); return Continuation.of(processingContext, rootRouter); } }
/** * Construct a match result matching the whole supplied path. * * @param path matched path. */ public SingleMatchResult(final String path) { this.path = stripMatrixParams(path); }
@Override public int start(final int group) { if (group == 0) { return start(); } throw new IndexOutOfBoundsException(); }
@Override public Continuation apply(final RequestProcessingContext processingContext) { final RoutingContext rc = processingContext.routingContext(); rc.pushMatchResult(new SingleMatchResult("/" + processingContext.request().getPath(false))); return Continuation.of(processingContext, rootRouter); } }
@Override public String group(final int group) { if (group == 0) { return group(); } throw new IndexOutOfBoundsException(); }
@Override public int end(final int group) { if (group == 0) { return end(); } throw new IndexOutOfBoundsException(); }
/** * Construct a match result matching the whole supplied path. * * @param path matched path. */ public SingleMatchResult(final String path) { this.path = stripMatrixParams(path); }
@Override public int start(final int group) { if (group == 0) { return start(); } throw new IndexOutOfBoundsException(); }
@Override public Continuation apply(final RequestProcessingContext processingContext) { final RoutingContext rc = processingContext.routingContext(); rc.pushMatchResult(new SingleMatchResult("/" + processingContext.request().getPath(false))); return Continuation.of(processingContext, rootRouter); } }
@Override public String group(final int group) { if (group == 0) { return group(); } throw new IndexOutOfBoundsException(); }
@Override public int end(final int group) { if (group == 0) { return end(); } throw new IndexOutOfBoundsException(); }
/** * Construct a match result matching the whole supplied path. * * @param path matched path. */ public SingleMatchResult(final String path) { this.path = stripMatrixParams(path); }
@Override public int start(final int group) { if (group == 0) { return start(); } throw new IndexOutOfBoundsException(); }
@Override public Continuation apply(final RequestProcessingContext processingContext) { final RoutingContext rc = processingContext.routingContext(); rc.pushMatchResult(new SingleMatchResult("/" + processingContext.request().getPath(false))); return Continuation.of(processingContext, rootRouter); } }
@Override public String group(final int group) { if (group == 0) { return group(); } throw new IndexOutOfBoundsException(); }