类 MyErrorController

  • 所有已实现的接口:
    org.springframework.boot.web.servlet.error.ErrorController

    public class MyErrorController
    extends org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
    implements org.springframework.boot.web.servlet.error.ErrorController
    • 构造器概要

      构造器 
      构造器 说明
      MyErrorController​(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)  
      MyErrorController​(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties, java.util.List<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers)  
    • 方法概要

      • 从类继承的方法 org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController

        error, errorHtml, getErrorAttributeOptions, getErrorProperties, isIncludeBindingErrors, isIncludeMessage, isIncludeStackTrace, mediaTypeNotAcceptable
      • 从类继承的方法 org.springframework.boot.autoconfigure.web.servlet.error.AbstractErrorController

        getBooleanParameter, getErrorAttributes, getErrorsParameter, getMessageParameter, getStatus, getTraceParameter, resolveErrorView
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • MyErrorController

        public MyErrorController​(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
                                 org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)
      • MyErrorController

        public MyErrorController​(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
                                 org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties,
                                 java.util.List<org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver> errorViewResolvers)