类 GlobalErrorWebExceptionHandler
- java.lang.Object
-
- org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler
-
- org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
-
- me.youm.core.webflux.handler.GlobalErrorWebExceptionHandler
-
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean,org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler,org.springframework.web.server.WebExceptionHandler
@Component public class GlobalErrorWebExceptionHandler extends org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 private ExceptionHandlerAdviceexceptionHandlerAdvice
-
构造器概要
构造器 构造器 说明 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)-
从类继承的方法 org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
acceptsTextHtml, getErrorAttributeOptions, getHttpStatus, isIncludeBindingErrors, isIncludeMessage, isIncludeStackTrace, renderErrorView
-
从类继承的方法 org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler
afterPropertiesSet, getError, getErrorAttributes, getErrorAttributes, handle, isBindingErrorsEnabled, isMessageEnabled, isTraceEnabled, logError, renderDefaultErrorView, renderErrorView, setMessageReaders, setMessageWriters, setViewResolvers
-
-
-
-
字段详细资料
-
exceptionHandlerAdvice
private ExceptionHandlerAdvice exceptionHandlerAdvice
-
-
构造器详细资料
-
GlobalErrorWebExceptionHandler
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)
-
-
方法详细资料
-
getRoutingFunction
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.DefaultErrorWebExceptionHandler
-
renderErrorResponse
protected 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.DefaultErrorWebExceptionHandler
-
-