/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Complete the currently built unfinished sub-route (if any) and start building a new one. * * The completed sub-route is added to the list of the routes accepted by the router that is being built. * * @param pattern routing pattern for the new sub-route. * @return updated router builder. */ public PathToRouterBuilder route(final PathPattern pattern) { startNewRoute(pattern); return this; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }
/** * Create new request path pattern matching router builder. * * @param pattern request path matching pattern. * @return new request path pattern matching router builder. */ static PathToRouterBuilder newRoute(final PathPattern pattern) { final PathMatchingRouterBuilder builder = new PathMatchingRouterBuilder(); builder.startNewRoute(pattern); return builder; }