@Component
public class GlobalErrorWebExceptionHandler
extends org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
| 限定符和类型 | 字段和说明 |
|---|---|
private ExceptionHandlerAdvice |
exceptionHandlerAdvice |
| 构造器和说明 |
|---|
GlobalErrorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.WebProperties.Resources resources,
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, setViewResolversprivate ExceptionHandlerAdvice exceptionHandlerAdvice
public GlobalErrorWebExceptionHandler(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.WebProperties.Resources resources,
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. All rights reserved.