public class GlobalErrorHandler
extends org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandler
| Constructor and Description |
|---|
GlobalErrorHandler(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)
Instantiates a new Global error handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getErrorAttributes(org.springframework.web.reactive.function.server.ServerRequest request,
boolean includeStackTrace) |
protected int |
getHttpStatus(Map<String,Object> errorAttributes) |
protected org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> |
getRoutingFunction(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes) |
acceptsTextHtml, isIncludeStackTrace, renderErrorResponse, renderErrorViewpublic GlobalErrorHandler(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)
errorAttributes - the error attributesresourceProperties - the resource propertieserrorProperties - the error propertiesapplicationContext - the application contextprotected Map<String,Object> getErrorAttributes(org.springframework.web.reactive.function.server.ServerRequest request, boolean includeStackTrace)
getErrorAttributes in class org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandlerprotected org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> getRoutingFunction(org.springframework.boot.web.reactive.error.ErrorAttributes errorAttributes)
getRoutingFunction in class org.springframework.boot.autoconfigure.web.reactive.error.DefaultErrorWebExceptionHandlerCopyright © 2021 The Apache Software Foundation. All rights reserved.