public class ResultErrorWebExceptionHandler
extends org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
可对WebFilter异常进行统一处理
| 构造器和说明 |
|---|
ResultErrorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ResourceProperties resourceProperties,
org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties,
org.springframework.context.ApplicationContext applicationContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> |
getRoutingFunction(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes) |
protected reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
renderErrorResponse(org.springframework.web.reactive.function.server.ServerRequest request) |
acceptsTextHtml, getErrorAttributeOptions, getHttpStatus, isIncludeBindingErrors, isIncludeMessage, isIncludeStackTrace, renderErrorViewafterPropertiesSet, getError, getErrorAttributes, getErrorAttributes, handle, isBindingErrorsEnabled, isMessageEnabled, isTraceEnabled, logError, renderDefaultErrorView, renderErrorView, setMessageReaders, setMessageWriters, setViewResolverspublic ResultErrorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ResourceProperties resourceProperties,
org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties,
org.springframework.context.ApplicationContext applicationContext)
protected org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> getRoutingFunction(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
getRoutingFunction 在类中 org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandlerprotected reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> renderErrorResponse(org.springframework.web.reactive.function.server.ServerRequest request)
renderErrorResponse 在类中 org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandlerCopyright © 2021 Pivotal Software, Inc.. All rights reserved.