Package | Description |
---|---|
org.springframework.web.reactive |
Top-level package for the
spring-webflux module that contains
DispatcherHandler , the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result. |
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
org.springframework.web.reactive.result |
Support for various programming model styles including the invocation of
different types of handlers, e.g.
|
org.springframework.web.reactive.result.method |
Infrastructure for handler method processing.
|
org.springframework.web.reactive.result.method.annotation |
Infrastructure for annotation-based handler method processing.
|
org.springframework.web.reactive.result.view |
Support for result handling through view resolution.
|
org.springframework.web.reactive.socket.server.support |
Server-side support classes for WebSocket requests.
|
Modifier and Type | Method and Description |
---|---|
HandlerResult |
HandlerResult.setExceptionHandler(java.util.function.Function<java.lang.Throwable,reactor.core.publisher.Mono<HandlerResult>> function)
Configure an exception handler that may be used to produce an alternative
result when result handling fails.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
HandlerResult.applyExceptionHandler(java.lang.Throwable failure)
Apply the exception handler and return the alternative result.
|
reactor.core.publisher.Mono<HandlerResult> |
HandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler)
Handle the request with the given handler.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
HandlerResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result)
Process the given result modifying response headers and/or writing data
to the response.
|
boolean |
HandlerResultHandler.supports(HandlerResult result)
Whether this handler supports the given
HandlerResult . |
Modifier and Type | Method and Description |
---|---|
HandlerResult |
HandlerResult.setExceptionHandler(java.util.function.Function<java.lang.Throwable,reactor.core.publisher.Mono<HandlerResult>> function)
Configure an exception handler that may be used to produce an alternative
result when result handling fails.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
HandlerFunctionAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ServerResponseResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
boolean |
ServerResponseResultHandler.supports(HandlerResult result) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
SimpleHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
Modifier and Type | Method and Description |
---|---|
protected ReactiveAdapter |
HandlerResultHandlerSupport.getAdapter(HandlerResult result)
Get a
ReactiveAdapter for the top-level return value type. |
Modifier and Type | Method and Description |
---|---|
HandlerResult |
SyncInvocableHandlerMethod.invokeForHandlerResult(ServerWebExchange exchange,
BindingContext bindingContext,
java.lang.Object... providedArgs)
Invoke the method for the given exchange.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
InvocableHandlerMethod.invoke(ServerWebExchange exchange,
BindingContext bindingContext,
java.lang.Object... providedArgs)
Invoke the method for the given exchange.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
RequestMappingHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ResponseBodyResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
reactor.core.publisher.Mono<java.lang.Void> |
ResponseEntityResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
boolean |
ResponseBodyResultHandler.supports(HandlerResult result) |
boolean |
ResponseEntityResultHandler.supports(HandlerResult result) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ViewResolutionResultHandler.handleResult(ServerWebExchange exchange,
HandlerResult result) |
boolean |
ViewResolutionResultHandler.supports(HandlerResult result) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<HandlerResult> |
WebSocketHandlerAdapter.handle(ServerWebExchange exchange,
java.lang.Object handler) |