Java Code Examples for org.springframework.web.server.WebHandler#handle()
The following examples show how to use
org.springframework.web.server.WebHandler#handle() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SimpleHandlerAdapter.java From spring-analysis-note with MIT License | 4 votes |
@Override public Mono<HandlerResult> handle(ServerWebExchange exchange, Object handler) { WebHandler webHandler = (WebHandler) handler; Mono<Void> mono = webHandler.handle(exchange); return mono.then(Mono.empty()); }
Example 2
Source File: SimpleHandlerAdapter.java From java-technology-stack with MIT License | 4 votes |
@Override public Mono<HandlerResult> handle(ServerWebExchange exchange, Object handler) { WebHandler webHandler = (WebHandler) handler; Mono<Void> mono = webHandler.handle(exchange); return mono.then(Mono.empty()); }