Class ProxyErrorReportValve

    • Field Detail

      • useRedirect

        protected boolean useRedirect
        Use a redirect or proxy the response to the specified location. Default to redirect.
      • usePropertiesFile

        protected boolean usePropertiesFile
        Use a properties file for the URLs.
    • Constructor Detail

      • ProxyErrorReportValve

        public ProxyErrorReportValve()
    • Method Detail

      • getUseRedirect

        public boolean getUseRedirect()
        Returns:
        the useRedirect
      • setUseRedirect

        public void setUseRedirect​(boolean useRedirect)
        Parameters:
        useRedirect - the useRedirect to set
      • getUsePropertiesFile

        public boolean getUsePropertiesFile()
        Returns:
        the usePropertiesFile
      • setUsePropertiesFile

        public void setUsePropertiesFile​(boolean usePropertiesFile)
        Parameters:
        usePropertiesFile - the usePropertiesFile to set
      • report

        protected void report​(Request request,
                              Response response,
                              Throwable throwable)
        Description copied from class: ErrorReportValve
        Prints out an error report.
        Overrides:
        report in class ErrorReportValve
        Parameters:
        request - The request being processed
        response - The response being generated
        throwable - The exception that occurred (which possibly wraps a root cause exception