/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a continuation from the routed request and a single * of next level routers. * * @param request routed request. * @param next next level router. * @return a continuation with the supplied next level router to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext request, final Router next) { return new Continuation(request, Collections.singletonList(next)); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a continuation from the routed request and a collection * of next level routers. * * @param result routed request. * @param next next level routers. * @return a continuation with the supplied next level routers to be invoked * {@link #next() next} in the routing chain and the supplied routed * request. */ static Continuation of(final RequestProcessingContext result, Iterable<Router> next) { return new Continuation(result, next); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }
/** * Create a terminal continuation from the routed request. * * @param result routed request. * @return terminal continuation with no {@link #next() next level routers} * in the routing hierarchy and the supplied routed request. */ static Continuation of(final RequestProcessingContext result) { return new Continuation(result, null); }