RouterFunction < T > function ( RequestPredicate arg0 , HandlerFunction < T > arg1 ) { Assert . notNull ( arg0 , "srini_string" ) ; Assert . notNull ( arg1 , "srini_string" ) ; return request -> arg0 . test ( request ) ? Mono . just ( arg1 ) : Mono . empty ( ) ; }
route to the given handler function if the given request predicate applies . concode_field_sep HandlerFunction<ServerResponse> NOT_FOUND_HANDLER concode_elem_sep String URI_TEMPLATE_VARIABLES_ATTRIBUTE concode_elem_sep String REQUEST_ATTRIBUTE concode_field_sep HandlerFunction<T> cast concode_elem_sep void addAttributes concode_elem_sep RouterFunction<ServerResponse> resources concode_elem_sep RouterFunction<ServerResponse> resources concode_elem_sep HandlerFunction<T> notFound concode_elem_sep RouterFunction<T> subroute concode_elem_sep HandlerMapping toHandlerMapping concode_elem_sep HandlerMapping toHandlerMapping concode_elem_sep HttpWebHandlerAdapter toHttpHandler concode_elem_sep HttpWebHandlerAdapter toHttpHandler