Class ErrorController
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
com.cumulocity.microservice.security.controller.ErrorController
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorController
public class ErrorController
extends org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
-
Constructor Summary
ConstructorDescriptionErrorController
(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndView
errorHtml
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
error, getErrorAttributeOptions, getErrorProperties, isIncludeBindingErrors, isIncludeMessage, isIncludePath, isIncludeStackTrace, mediaTypeNotAcceptable
Methods inherited from class org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController
getBooleanParameter, getErrorAttributes, getErrorsParameter, getMessageParameter, getPathParameter, getStatus, getTraceParameter, resolveErrorView
-
Constructor Details
-
ErrorController
public ErrorController(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers)
-
-
Method Details
-
errorHtml
public org.springframework.web.servlet.ModelAndView errorHtml(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) - Overrides:
errorHtml
in classorg.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
-