@Test public void andRoute() { RouterFunction<ServerResponse> routerFunction1 = request -> Optional.empty(); RequestPredicate requestPredicate = request -> true; RouterFunction<ServerResponse> result = routerFunction1.andRoute(requestPredicate, this::handlerMethod); assertNotNull(result); MockHttpServletRequest servletRequest = new MockHttpServletRequest(); ServerRequest request = new DefaultServerRequest(servletRequest, emptyList()); Optional<? extends HandlerFunction<?>> resultHandlerFunction = result.route(request); assertTrue(resultHandlerFunction.isPresent()); }
public static Builder route() { return new RouterFunctionBuilder(); }
RouterFunctions { public static Builder route() { return new RouterFunctionBuilder(); } }
RouterFunctions { public static Builder route() { return new RouterFunctionBuilder(); }  }
RouterFunctions { public static Builder route() { return new RouterFunctionBuilder(); }  static Builder route(); static RouterFunction<T> route(
			RequestPredicate predicate, HandlerFunction<T> handlerFunction); static RouterFunction<T> nest(
			RequestPredicate predicate, RouterFunction<T> routerFunction); static RouterFunction<ServerResponse> resources(String pattern, Resource location); static Function<ServerRequest, Optional<Resource>> resourceLookupFunction(String pattern, Resource location); static RouterFunction<ServerResponse> resources(Function<ServerRequest, Optional<Resource>> lookupFunction); }
RouterFunctions { public static Builder route() { return new RouterFunctionBuilder(); }  static Builder route(); static RouterFunction<T> route(
			RequestPredicate predicate, HandlerFunction<T> handlerFunction); static RouterFunction<T> nest(
			RequestPredicate predicate, RouterFunction<T> routerFunction); static RouterFunction<ServerResponse> resources(String pattern, Resource location); static Function<ServerRequest, Optional<Resource>> resourceLookupFunction(String pattern, Resource location); static RouterFunction<ServerResponse> resources(Function<ServerRequest, Optional<Resource>> lookupFunction); static final String REQUEST_ATTRIBUTE; static final String URI_TEMPLATE_VARIABLES_ATTRIBUTE; static final String MATCHING_PATTERN_ATTRIBUTE; }